I am using an xcart eshop. The site is working fine but it has created more than 5 GB of data in tha datacahce folder. My question is: Is it safe to simply delete all these files as well as the file structure under the folder datacache in order to remove these 5GB of my server and how can I avoid future large caching. I also attach an indicative screenshot of the datacache filestructure. 
is it safe to delete x-cart cache files?
471 views Asked by mike At
1
You can remove the
var/datacacheandvar/packssub-folders in yourX-Cartinstallation.I would also recommend you to set up a
cronjob to regularly clean up the content of thevar/datacachefolder.For example:
This command is aimed to find and remove all the files that are older than 60 minutes and located in the respective
var/datacachesub-folder of yourX-Cartinstallation.Set up your
cronjob to be executed once per hour, via your website Control Panel (cPanel or Plesk).