Jump to content

Is Safe to delete cache folder ?


Recommended Posts

Hey guys!,

i have huge /cache folder in my prestashop site, not i am gonna delete that folder but what the risk of my action? previously, i clear my cache manually in /cache/smarty but the huge files is /cache/cachefs folder.

Any suggest?

Thanks in advance

Link to comment
Share on other sites

 

5 minutes ago, Elina webs said:

Hi @mikhsanh

You can delete without a problem all the folders inside "cache/smarty/cache" and all the folders inside "cache/smarty/compile".

In fact, this is the action performed by the "Clear cache" button in the back office.

Hi Elina Webs,

thanks for the reply

I have perform it, but is safe to delete /cache/cachefs? because that file is so huge in my server :(

Link to comment
Share on other sites

  • 1 year later...
On 1/15/2020 at 11:30 AM, Elina webs said:

You can delete all the folders inside (but only folders, the index.php file you have to keep it) @mikhsanh.

However, as time passes by, new information will be stored in this folder. One option is that you create a cron task on the server to clean the content every X time.

What is the reason to delete cache files. They re there to speed up loading of pages.

If you delete regularly the cache then there is no reason to have it enabled at first anyway..

  • Confused 1
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...