Jump to content

Many Files In Theme Cache With Ccc


schibulski

Recommended Posts

Hello!

We have many many bots in our shop every day (same IP Adress with 100+ Visits in the same time).

 

And I think that everyone generates its own custom .css and .js files when CCC is activated. After 3 days I have more than 15.000 files in my theme cache folder with more than 10GB.

 

Is this behavior normal? Why does prestashop generates own css files for every visitor?? Is there a way to solve this? When smart css is deactivated everything is fine.

 

At the moment i have to clear the cache every 3 days because we only have 15GB of webspace :-(

Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...

If you have a development environment you can easily find which module is refreshing his css with the command:

 

find . -mmin -1

 

This retrieves the server files list that had been modified in the last minute and causing Prestashop to increase the Configuration key PS_CCCCSS_VERSION and generate a new css files each request.

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...