• Resolved tomwpml

    (@tomwpml)


    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

    (@dryabov)

    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

    (@tomwpml)

    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.