mdiniz Posted April 13, 2013 Share Posted April 13, 2013 Hi there I'm checking how the caching mechanism works in Prestashop (1.5.3.1). 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 Link to comment Share on other sites More sharing options...
mdiniz Posted April 18, 2013 Author Share Posted April 18, 2013 Hi there I'm upping this post. Could anyone at least confirm or decline my assumptions? That would help a lot, thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now