• Resolved berrywhy

    (@berrywhy)


    I never manually delete the cache thought it grows quicky. But I realized that it is regularly deleted as I update my content daily. Once the cache was like 6 gb. So what happens if I don’t update my site, so cache is not deleted? There might be times I can’t look at my website for weeks, in that case should I consider adding a pluging or code for auto deleting cache?

    Update: Upon checking, it is not deleted when I update a content. So it grows too much and then become 0% itself, how does this happen?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    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

    Thread Starter berrywhy

    (@berrywhy)

    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 4 years, 3 months ago by berrywhy.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    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

    Thread Starter berrywhy

    (@berrywhy)

    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.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I would enable it; the impact on cache site likely is small and it does give some performance advantage.

    Thread Starter berrywhy

    (@berrywhy)

    Thanks so much.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! ??

    frank

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Never deleting cache’ is closed to new replies.