Magento: How To Refresh Cache
- Category: questions, web development
Many 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:
- Go to System>Index Management
- Click on “select all” in the upper left corner
- Under “Action” select “Reindex Data” and click submit
To refresh all Magento cache
Ffrom the admin following these quick steps:
- Go to System>Configuration and
- Click on “select all” in the upper left corner
- Under “action” click on “refresh” and click submit
- Then click on these buttons:
- Flush Magento Cache
- Flush Cache Storage
- Fluch Catalog Images Cache
- 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!
Do you know exactly what happens for each button ? Thanks.
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