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.
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 5 years, 1 month ago by
vickyweb.
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.
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 5 years, 1 month ago by
vickyweb.
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).
Ok thank you, I will do that now!