Magento 2 Cache Management: 12 Cache Types

The Most Popular Extension Builder for Magento 2

With a big catalog of 234+ extensions for your online store

Adding more data means that your website will be possibly overloaded or run slowlier, which can greatly influence customers’ experience. Hence, it is necessary to Manage the Cache to solve this problem. For example, by clearing Cache, you can protect the personal information and help the application run faster.

With different usages, all 12 types of Magento 2 Cache are effective in improving the speed, making your Store perform better.

12 Magento 2 Cache Types

In details, the different categories of Cache are:

  • Configuration (config): After adapting configuration files, it is necessary to flush them including configuration and store specific settings
  • Layouts (layout): After adapting layout files, it is necessary to flush them including the compiled page layout from all components
  • Blocks HTML output (block_html): After adapting the view layers, it is necessary to flush them including page fragments per block
  • Collections Data (collections): By Magento, it can automatically flush database queries. However, Custom modules may write entries which make Magento can not clean by itself, in case, Magento can not clean so we need to clean the cache
  • Reflection Data (reflection): API interfaces reflection data will be flushed
  • Database DDL operations (db_ddl): it can be automatically flush by Magento, but 3rd party can plus more data, after making custom changes to the database schema, which can clean the cache
  • EAV types and attributes (eav): The metadata regarding the entity attributes into the cache, in general, it should not flush the cache
  • Integrations Configuration (config_integration): Caches the compiled integrations on your store. Clean after adding new or changing existing integrations
  • Integrations API Configuration (config_integration_api): Compiled integration APIs configuration of the Store’s Integrations
  • Page Cache (full_page): This cache links the HTML pages so it is necessary to clean this type of cache regularly
  • Translations (translate): After merging translations from all modules, the merger cache will be cleaned
  • Web Services Configuration (config_webservice): Caching the Web API Structure

3 steps to manage Cache in Magento 2

Firstly, you need to log in Magento Admin Dashboard, then follow all these steps

Step 1: Access to Cache Management

  • On the left side of menu, choose System
  • Select Cache Management

Access to Cache Management

Step 2: Select the Page Cache

  • In the drop-down list Actions , select Disable
  • Click the top check box to select all
  • Then click Submit

Select the Page Cache

Step 3: Click Flush Magento Cache

Flush Magento Cache

THINGS TO REMEMBER

  • Flushing Cache does not affect other processes or applications because it cleans only the cache that Magento uses; however, it might affect other processes applications using the same storage

The bottom line

Cache management can be the answer for you to upgrade website performance. Understanding 12 types of caches and the steps to manage them in the backend is a must for every online store. If you require extra help in this issue, don’t hesitate to reach out to us.

See you in the next posts!

Related posts:

Looking for
Customization & Development Services?

8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.

Get free consultant
development service

Explore Our Products:

People also searched for

Subscribe

Stay in the know

Get special offers on the latest news from Mageplaza.

Earn $10 in reward now!

Earn $10 in reward now!

comment
iphone
go up