• Resolved vickyweb

    (@vickyweb)


    Hello

    I have noticed that the cache folder/files created by fvm are around 7GB and taking up a lot of space on my hosting. Is there a setting I need to change to improve this please?

    thanks

    • This topic was modified 3 years, 4 months ago by vickyweb.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Raul P.

    (@alignak)

    If you have dynamic css or js files, those keep changing every time it’s minified and it’s a new file. You would need to manually check which file keeps changing and exclude it from minification.

    It’s also possible that all your pages have different css or js files, in which case, you will need a set of minified files per page. You can disable merging and see if it helps.

    It’s also safe to periodically delete the cache directory, as it will be rebuilt.

    Thread Starter vickyweb

    (@vickyweb)

    Hello

    How do I check to see which file keeps changing please?

    Also, where do I go to turn off the merging you mention please? It doesn’t look obvious in the settings.

    Thanks

    • This reply was modified 3 years, 4 months ago by vickyweb.
    Plugin Author Raul P.

    (@alignak)

    You would have to manually check the cache directory for similar file sizes and open a few of them to inspect them and comparison.

    You can post your site url and I can take a quick look. If it’s visible, I will let you know.

    Thread Starter vickyweb

    (@vickyweb)

    Hi Paul

    Its https://xxxx.co.uk
    The cache folder is a bit smaller now as I cleared it last week, but it is already back up to 1.9GB and climbing.

    thank you

    • This reply was modified 3 years, 4 months ago by vickyweb.
    Plugin Author Raul P.

    (@alignak)

    There is a bug with your theme development, or the developer that edited it, forgot to change the query string.

    Currently, you would need to exclude all files under your theme directory by adding /themes/yolanddesign/ to the css and js ignore list, however, the real reason why this happens, is that your theme css and js files change the query string on every pageview.

    For example:
    https://bramleyappledesign.co.uk/wp-content/themes/yolanddesign/fw/js/swiper/swiper.css?rnd=2142481582

    The ?rnd=2142481582 changes on every time you refresh the page, and this is wrong.
    Tell your developer to remove the rnd query from the enqueued assets, so that they can remain static and not change on every pageview (do not install another plugin to remove the query strings… they guy added it with code, so he needs to edit it again, or ask the theme author).

    Thread Starter vickyweb

    (@vickyweb)

    Ok thank you, I will do that now!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘why is my fvm cache folder so big?’ is closed to new replies.