Magento: How To Refresh Cache

Magento CacheMany issues will be avoided if you make sure to refresh Magento cache  when needed.  If you’re administrating a Magento store, here’s what you need to know about clearing cache, clearing sessions, and reindexing data.

Quick and dirty:
Using any FTP tool, delete everything under var/cache/, var/sessions/, and var/locks/. Please note that by doing so, all current sessions will be deleted – so if anyone is logged in on your site they will be logged out.

Alternatively, if you can access the admin then follow the steps below.

To reindex Magento data
From the admin follow these quick steps:

  1. Go to System>Index Management
  2. Click on “select all” in the upper left corner
  3. Under “Action” select “Reindex Data” and click submit

To refresh all Magento cache
Ffrom the admin following these quick steps:

  1. Go to System>Configuration and
  2. Click on “select all” in the upper left corner
  3. Under “action” click on “refresh” and click submit
  4. Then click on these buttons:
    1. Flush Magento Cache
    2. Flush Cache Storage
    3. Fluch Catalog Images Cache
    4. Flush JavaScript/CSS Cache

Any questions feel free to post them in the comments below!

Don’t forget! Subscribe and follow

Be sure to subscribe to the feed and follow us on Twitter for more tips, resources, and giveaways!

6 Comments

  • Mike
    Don’t forget to delete your browser cache and cookies as well…
  • Ghislain
    Have you got more infos about the cache options ? I didn’t found any documentations, like buttons “Flush JavaScript/CSS Cache”, “Flush Cache storage” ?
    Do you know exactly what happens for each button ? Thanks.
  • Luke
    great, but what does warning mean ” Cache storage may contain another data. Are you sure that you want flush it?” It sounds risky, is it?
  • I installed Ultimento but my store still uses the default theme – why? | Magento Help | ULTIMENTO
    [...] didn’t paste in incorrectly or added extra space . Once you’ve checked these 3 items clear your Magento cache, log out of the backend, and log back [...]
  • Kristi
    What happens when you flush the category images cache? I don’t want to do something that will get me in trouble
  • Pete
    Cache storage may contain another data. Are you sure that you want flush it? – this will clear everything in the cache so if you are using memcache it will flush everything including any other applications cache in there.

    flush the category images cache? – this makes magento re resize all the image in your catalogue, only worth doing if you’ve changed theme or something otherwise it will spank the cpu on the server as people browse the site

Leave a Reply

Sorry - this blog is now closed to new comments.