Cache Storage Management

Using Magento’s cache management system is an easy way to improve the performance of your site. The Cache Storage Management page lists each primary cache, with its current status and associated tag. Any cache that needs to be refreshed is flagged in the list. A notice appears at the top of the workspace to guide you through the process.

In addition to the list of caches, there are separate buttons to flush the cache of Magento-specific files, and to flush cache storage of all files. At the bottom of the page are additional buttons to flush the catalog product images cache and the JavaScript/CSS cache.

After clearing a cache, always refresh your browser to make sure that you see the result in your store.

Cache Management
Cache Management

To refresh specific caches:

  1. Do one of the following:
    • Click the Cache Management link in the message above the workspace.
    • On the Admin menu, select System > Cache Management.

    The “Invalidated.” status of each cache that needs to be refreshed appears in yellow.

  2. Cache Refresh Needed
    Cache Refresh Needed
  3. Do one of the following:
    • For each cache that needs to be refreshed, click the checkbox at the beginning of the row.
    • To select a group, click one of the selection options above the list.
  4. Set Actions to “Refresh,” and click the Submit button.

Refreshing Multiple Caches
Refreshing Multiple Caches

To flush the product image cache:

  1. From the Cache Storage Management page, under Additional Cache Management, click the Flush Catalog Images Cache button.

    Look for the message, “Image cache was cleaned” above the workspace.

  2. To see the changes, make sure to clear your browser cache.

 

To flush the JavaScript/CSS cache:

  1. From the Cache Storage Management page, under Additional Cache Management, click the Flush JavaScript/CSS Cache button.

    Look for the message, “The JavaScript/CSS cache has been cleaned” above the workspace.

  2. To see the changes, make sure to clear your browser cache.

 

Button Descriptions

ButtonDescription
Flush Magento CacheRemoves all items in the default Magento cache (var/cache) and the var/full_page cache that have a Magento tag,
Flush Cache StorageRemoves all items in the cache. This is the equivalent of deleting the entire contents of the cache folder on the server.If your system uses an alternate cache location, any cached files used by other applications will be removed.
Flush Catalog Images CacheRemoves all automatically resized and watermarked catalog images that are stored at: media/catalog/product/cache. If recently uploaded images aren’t visible in the catalog, try flushing the catalog and refreshing your browser.
Flush JavaScript/CSS CacheRemoves the merged copy of JavaScript and CSS files from the cache. If recent changes to the stylesheet or JavaScript aren’t visible in the store, try flushing the JavaScript/CSS cache and refreshing your browser.

Cache Types

TypeDescription
ConfigurationSystem and module configuration files.
Associated tag: CONFIG
System:config.xml
local.xml
Module:config.xml
LayoutsPage layout building instructions.
Associated tag: LAYOUT_GENERAL_CACHE_TAG
BlocksHTML Output The HTML that is associated with page blocks.
Associated tag: BLOCK_HTML
TranslationsLanguage translation files.
Associated tag: TRANSLATE
Collections DataFiles that contain data that is the result of a query.
Associated tag: COLLECTION_DATA
EAV Types and AttributesAttribute entities, types, and values.
Associated tag: EAV
Web Services ConfigurationWeb Services definition files (api.xml)
Associated tag: CONFIG_API
Web Services ConfigurationWeb Services definition files (api2.xml)
Associated tag: CONFIG_API2
PageFull page cache.
Associated tag: FPC

Discussion:

Explore the Knowledge Base