Just a simple question:
Does invalidated cache mean that caching is not running?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Nope, just means that it needs to be refreshed.
In Magento, whenever you make changes to products, static blocks, etc, it recognizes that the data in the database is no longer the same as what it has in the cache. Unfortunately, Magento doesn’t realize what cache data is different, just that something is different.
You will need to go into System > Cache Management and refresh the invalidated cache types.
You can set this up to automatically refresh if you like.
Create a module (or use an existing module) that you can use to set up a cron job for refreshing the cache. Create a file: {namespace}/{modulename}/Model/Observer.php
Inside that file:
In your module’s etc/config.xml:
Now as long as cron is configured correctly on your server, the cache will update automatically, as often as cron runs.