AO does not delete its own cache, but it does try to do so when it notices a known page cache being purged + there are plugins & themes which delete AO cache for good or bad (looking at you Divi) reasons, so that might be happening?
frank
I don’t know how it happens honestly. Anyway I disabled Minify excluded CSS and JS files and Also aggregate inline CSS because it was getting big so quick. Now it is okay. But I have two questions:
Let’s say cache grew too much and reach server size, what happens? I use DO and server size is like 25 gb. If it is problematic, why didn’t you have a option to automatically delete it let’s say if it reaches like 2 gb.
Does disabling Minify excluded CSS and JS files and also aggregate inline CSS cause performance issues? Or is it unimportant or minimal?
-
This reply was modified 5 years, 5 months ago by
berrywhy.
1. I you use all disk space of your hosting, the site goes down.
2. AO does not do cache purging mainly because it does not know if there is page caching referring somewhere which might refer to Autoptimized files that might be deleted, breaking the site. Additionally a fast growing cache indicates even bigger issues.
3. “also aggregate inline CSS” is the likely culprit, not doing so has no significant performance imapct.
hope this clarifies,
frank
Thanks so much. Is the option ”Minify excluded CSS” important? If it does not make the cache grow so quick, I want to enable it. But, if it is not important and does not improve performance, I can leave it disabled.
I would enable it; the impact on cache site likely is small and it does give some performance advantage.