Jump to content

Clear cache in BO what folders affected


Recommended Posts

Hi,

 

I searched a lot for this question and i didn't the correct answer, i have made a script to clear Prestashop cache, smarty cache,

I got the code from adminPerformances controller,

Tools::clearSmartyCache();
Tools::clearXMLCache();
Media::clearCache();
Tools::generateIndex();

I read that it cleared the cache from /cache/smarty/cache, but when executing the script or clicking in clear cache in performances page it doesn't remove subfolders from this folder.

Any body knows 'clear cache' will affect which folders/files.

 

Thanks.

Link to comment
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...