I disabled the plugin, I tried to reactivate it but it wasn’t possible. WordPress tells me that there was an error.
I believe it is due to the weight of the cache, the static files had 35 GB in 335687 files(s) of cache!!
So I deleted the plugin manually, deleting the files from server, the site went down for 20 minutes to clear all the cache. Really bad for me.
I believe you should find a solution to sites with many pages that take up more cache.
Thanks
-
This reply was modified 6 years, 10 months ago by
marcorroma.
22Gb iss too much for static cache. I guess you have some inlined javascript code that varies between pages (or even between users) that results in a lot of unique one-time files in cache. In this case it is necessary to disable merging of embedded javascripts and stylesheets (css).
Thanks for your answer.
What do you mean “I guess you have some inlined javascript code that varies between pages”?
I use WordPress in a classic way.
Categories, Posts, 4 Pages and Homepage
Ps.I disabled only “merge script files” but the http requests increased by 40-50 more
-
This reply was modified 6 years, 10 months ago by
marcorroma.
Some plugins inserts javascript codes like
<script>var current_url='https://yourdomain.com/current-page-path';</script>
or even
<script>var current_time=1564577645;/*current unix epoch time*/</script>
and this code varies from page to page, and so results in unique merged javascript file for every page.
What is URL of your website?
I have plugins like: Custom Sidebars, AdRotate, ecc.
My site is: xzxzxzxzxxzxzxzxzxxzxzxzxzxxzxzxzxzx.xz
(when you answer me, I cancel the site url)
-
This reply was modified 6 years, 10 months ago by
marcorroma.
It is AdRotate that generates unique js codes.
Thanks!
How can I solve the problem?
Is the solution just to exclude AdRotate scripts from your plugin?
Are there alternatives?