David Bucur Posted June 10, 2014 Share Posted June 10, 2014 Hi all, I am synchronizing a module with the main core of prestashop and I need to flush the cache in order for the changes to appear. But I want to do that automatically as the owner of the shop doesn't have enough knowledge of technologies... Is there an order like $cache->flush(); or similar? Thanks Link to comment Share on other sites More sharing options...
TribalDexterD Posted June 10, 2014 Share Posted June 10, 2014 Hi, You can disable the smarty cache and normal cache, is the better choice!!! Link to comment Share on other sites More sharing options...
David Bucur Posted June 10, 2014 Author Share Posted June 10, 2014 (edited) But I guess the performance will decrease if it has to build every part of the page from scratch PD: This flush might happen once a week, not every day. Edited June 10, 2014 by David Bucur (see edit history) Link to comment Share on other sites More sharing options...
TribalDexterD Posted June 10, 2014 Share Posted June 10, 2014 So, I don't see differences in my shop with or without cache enabled. Performance depends from your web service principally. Link to comment Share on other sites More sharing options...
bellini13 Posted June 10, 2014 Share Posted June 10, 2014 You want to use the following line of code. Tools::clearSmartyCache(); 1 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