How to clear Magento’s cache and why does this need to be done?
You can easily clear Magento’s cache without any technical knowledge. This needs to be done often when content is updated but does not show on the front end
Why Do I need to Clear Magento’s Cache?
As much as I love Magento it is a beast and needs a caching system to have decent performance. Basically what it does is stores local copies of pages, content, products and many other things on the server as files which can then be sent to a clients web browser. It does this because it is significantly faster than getting that same data from the database.
When you update content on a page in Magento you’ll need to clear the cached version so next time someone loads that page it will get the latest content from the database and cache that version. Then next time someone requests that page it will used the cached version which is significantly faster – and so the cycle will continue when you update other content.
The things which generally are cached (which content editors updated regularly) are:
- Static Blocks
- Product Descriptions
- Blog Posts
If you are modifying any content in these areas and it is not showing up in the front end of the website, this is not a bug it is a feature of Magento.
How Do I Clear Magento’s Cache?
- Firstly, login the to backend of Magento and go to System->Cache Management
- Next select all of the cache types to refresh by clicking the Select All link and the pressing Submit
- If all went well you should get a success message in the top section of the site