mikhsanh Posted January 15, 2020 Share Posted January 15, 2020 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 More sharing options...
Elina webs Posted January 15, 2020 Share Posted January 15, 2020 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. Link to comment Share on other sites More sharing options...
mikhsanh Posted January 15, 2020 Author Share Posted January 15, 2020 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 More sharing options...
Elina webs Posted January 15, 2020 Share Posted January 15, 2020 Hi @mikhsanh Do you have PrestaShop 1.6 or PrestaShop 1.7? Link to comment Share on other sites More sharing options...
mikhsanh Posted January 15, 2020 Author Share Posted January 15, 2020 Prestashop 1.6 Link to comment Share on other sites More sharing options...
mikhsanh Posted January 15, 2020 Author Share Posted January 15, 2020 I will upgrading to 1.7 soon Link to comment Share on other sites More sharing options...
Elina webs Posted January 15, 2020 Share Posted January 15, 2020 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. 1 Link to comment Share on other sites More sharing options...
mikhsanh Posted January 15, 2020 Author Share Posted January 15, 2020 Thanks for the solution, I will try your suggest Link to comment Share on other sites More sharing options...
Elina webs Posted January 15, 2020 Share Posted January 15, 2020 Perfect @mikhsanh. If the answer has helped you remember to give the subject per solved and if it has been useful, I would be very grateful if you would appreciate it :). Link to comment Share on other sites More sharing options...
orotoi Posted May 26, 2021 Share Posted May 26, 2021 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.. 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