mdiniz Posted April 13, 2013 Posted April 13, 2013 Hi there I'm checking how the caching mechanism works in Prestashop (184.108.40.206). So far I understand that it's based on the SQL queries: the query feeds a md5 function that is used as a key in the cache. There is also a delete function that removes entries from the cache. So far so good. However, I don't see any mechanism (in the models, controllers, anywhere) that removes entries from the cache. For instance, once a product is updated, the cache entry related to it must be expired, or the data will be out of sync. I see the class Db and some modules using delete, but I would expect a much more comprehensive cache invalidation mechanism. Am I missing anything? Could anyone please explain how the cache invalidation mechanism work? Thank you Marcelo Share this post Link to post Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now