Magento Commerce, 2.2.x

Cache Management

Magento’s cache management system is an easy way to improve the performance of your site. Whenever a cache needs to be refreshed, a notice appears at the top of the workspace to guide you through the process. Follow the link to Cache Management, and refresh the invalid caches.

Update Cache Message

The Cache Management page shows the status of each primary cache and its associated tag. The large buttons in the upper-right corner can be used to flush the Magento Cache, or the all-inclusive Cache Storage. At the bottom of the page there are additional buttons to flush the catalog product images cache and JavaScriptA scripting language used with HTML to produce dynamic effects and interactions on web pages./CSSCascading Style Sheets: A style sheet language that controls the appearance of HTML documents; a way to control the appearance of text, graphics, lists, links, and all other elements on a web page. cache.

After clearing a cache, always refresh your browser to make sure that you can see the most recent files. Clearing the Magento cache does not clear your web browser cache. You may need to clear the browser cache to see updated content.

Access to specific cache maintenance actions can be assigned to users by role, including options to view, toggle, and flush caches. Magento recommends only enabling flush actions to administrator level users. Providing access to all Cache Management features can impact your storefront's performance.

For technical information, see Magento cache overview in the developer documentation.

Cache Management

Best practices for caching

Reindexing and caching have different purposes Magento. Indexes track database information for increased search performance, faster data retrieval for storefronts, and more. Caches save loaded data, images, formats, and the like for increased performance loading and accessing the storefront.

  • Always flush the cache after installing extensions/modules. You can install one or more extensions, then flush the cache.
  • Flush the cache after installing Magento Commerce. For fresh installs, you should also reindex.
  • Flush the cache after upgrading from one version of Open Source or Commerce to another.
  • When flushing caches, consider the type of cache and scheduling the flushing during non-peak times. For example, pick a time when few customers may access the site such as late night or early morning. Clearing some cache types during peak times cause result in a high load on the AdminThe password-protected back office of your store where orders, catalog, content, and configurations are managed. and may result in a down site until completed.
  • When reindexing, you do not need to also perform a flush cache.
  • Control Descriptions



    Mass Actions

    Marks the checkbox of multiple caches. Options include:

    Select All

    Marks the checkbox of all caches.

    Unselect All

    Clears the checkbox of all caches.

    Select Visible

    Marks the checkbox of all visible caches.

    Unselect Visible

    Clears the checkbox of all visible caches.


    Determines the action to be applied to all selected caches. Options include:


    Enables all selected caches.


    Disables all selected caches.


    Refreshes all selected caches.


    Applies the action to all selected caches.

  • Button Descriptions



    Flush Magento Cache

    Removes all items in the default Magento cache (var/cache), according to their associated Magento tags.

    Flush Cache Storage

    Removes all items from the cache, regardless of Magento tag. If your system uses an alternate cache location, any cached files used by other applications are removed in the process.

    Flush Catalog Images Cache

    Removes all automatically resized and watermarked catalog images that are stored at: media/catalog/product/cache.

    If recently uploaded images aren't reflected in the catalog, try flushing the catalog and refreshing your browser.

    Flush JavaScript/CSS Cache

    Removes the merged copy of JavaScript and CSS files from the cache. If recent changes to the style sheet or JavaScript aren't reflected in the store, try flushing the JavaScript/CSS cache and refreshing your browser.

    Flush Static Files Cache

    Removes preprocessed view files and static files.

  • Cache Descriptions




    Various XML configurations that were collected across modules and merged. Associated Tag: CONFIG







    Layout building instructions.


    Blocks HTML output

    Page blocks HTML. Associated Tag: BLOCK_HTML

    Collections Data

    Collection data files. Associated Tag: COLLECTION_DATA

    Reflection Data

    Clears API interface reflection data, that is typically generated during runtime.

    Database DDL operations

    Results of DDL queries, such as describing tables or indexes.

    Associated Tag: DB_DDL

    Compiled Config

    Results of code compilation.

    Associated Tag: COMPILED_CONFIG

    EAV types and attributes

    Entity types declaration cache. Associated Tag: EAV

    Customer Notification

    Temporary notifications that appear in the user interface.

    Integrations Configuration

    Integration configuration file. Associated Tag: INTEGRATION

    Integrations API Configuration

    Integrations API configuration file.


    Page Cache

    Full page caching. Associated Tag: FPC


    Translation files. Associated Tag: TRANSLATE

    Web Services Configuration

    REST and SOAP configurations, generated WSDL file.

    Associated Tag: WEBSERVICE

  • Cache Management Role Resources


    Cache Management



    Clean Cache Actions

    Flush Cache Storage

    Fluch Magento Cache


    Cache Type Management

    Toggle Cache Type

    Refresh Cache Type


    Additional Cache Management

    Catalog Images Cache

    Flush Js/Css

    Flush Static Files