Cache folder is getting too big

If your cache folder is becoming too large and taking up too much disk space, the first step is to identify which specific folder is getting too big:


This indicates an issue with the minify/combine of either CSS or JavaScript. By looking at the specific files within the min folder, and whether there are more JavaScript or CSS files, that will reveal which specific option is the issue.

A common issue is with the Combine JavaScript files option. We optimize inline JavaScript by default and if your site contains dynamic JavaScript, that is code which varies slightly from page to page, this will trigger a lot of files to be created. 

The solution is either to  exclude the problematic, dynamic Inline JavaScript, or turn off the Combine JavaScript files option.

Read this guide to identify which specific Inline JavaScript is causing the problem

If your site uses  HTTP/2 combining files is not necessarily recommended.

Note that if the folder already has an excessive number of files in it, you may have to manually remove them via FTP. After doing that and disabling Combine JavaScript files, the problem should resolve. 

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.