Title: Huge static cache files
Last modified: August 27, 2019

---

# Huge static cache files

 *  Resolved [tomwpml](https://wordpress.org/support/users/tomwpml/)
 * (@tomwpml)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/huge-static-cache-files/)
 * Hello,
 * My hoster reached out to me because the cache files are huge. 2GB static files
   | over 7000 files.
 * How is this possible?
 * How can I reduce them and is it possible to delete those files once a week via
   cron job?
 * Does this make any sense?
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Denis Ryabov](https://wordpress.org/support/users/dryabov/)
 * (@dryabov)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/huge-static-cache-files/#post-11872459)
 * Usually large PageSpeed Ninja’s cache size means there are unique (i.e. varied
   from page to page or even randomly-generated) inlined javascript or css codes
   on pages of your website. The solution is to disable “Merge embedded styles” 
   and “Merge embedded scripts” in Advanced tab settings (by default these settings
   are disabled in “Safe” and “Compact” presets) and then run “Cache: Clear All”
   in the “Troubleshooting” section.
 *  Thread Starter [tomwpml](https://wordpress.org/support/users/tomwpml/)
 * (@tomwpml)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/huge-static-cache-files/#post-11873880)
 * Thank you. I followed your advice and it’s working. I also switched from “experimental
   caching” back to “normal caching”.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Huge static cache files’ is closed to new replies.

 * ![](https://ps.w.org/psn-pagespeed-ninja/assets/icon.svg?rev=1722219)
 * [PageSpeed Ninja - Cache, Minify, Defer CSS JavaScript, Critical CSS, Optimize Images, Convert WebP](https://wordpress.org/plugins/psn-pagespeed-ninja/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/psn-pagespeed-ninja/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/psn-pagespeed-ninja/)
 * [Active Topics](https://wordpress.org/support/plugin/psn-pagespeed-ninja/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/psn-pagespeed-ninja/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/psn-pagespeed-ninja/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [tomwpml](https://wordpress.org/support/users/tomwpml/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/huge-static-cache-files/#post-11873880)
 * Status: resolved