Title: Never deleting cache
Last modified: December 13, 2020

---

# Never deleting cache

 *  Resolved [berrywhy](https://wordpress.org/support/users/berrywhy/)
 * (@berrywhy)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/never-deleting-cache/)
 * 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?
    -  This topic was modified 5 years, 5 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This topic was modified 5 years, 5 months ago by [berrywhy](https://wordpress.org/support/users/berrywhy/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/never-deleting-cache/#post-13786289)
 * 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](https://wordpress.org/support/users/berrywhy/)
 * (@berrywhy)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/never-deleting-cache/#post-13786696)
 * 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](https://wordpress.org/support/users/berrywhy/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/never-deleting-cache/#post-13787738)
 * 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](https://blog.futtta.be/2016/09/15/autoptimize-cache-size-the-canary-in-the-coal-mine/).
   3. “also aggregate inline CSS” is the likely culprit, not doing so has no significant
   performance imapct.
 * hope this clarifies,
    frank
 *  Thread Starter [berrywhy](https://wordpress.org/support/users/berrywhy/)
 * (@berrywhy)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/never-deleting-cache/#post-13788860)
 * 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](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/never-deleting-cache/#post-13788892)
 * I would enable it; the impact on cache site likely is small and it does give 
   some performance advantage.
 *  Thread Starter [berrywhy](https://wordpress.org/support/users/berrywhy/)
 * (@berrywhy)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/never-deleting-cache/#post-13789030)
 * Thanks so much.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/never-deleting-cache/#post-13790253)
 * you’re welcome, feel free to [leave a review of the plugin and support here](https://wordpress.org/support/plugin/autoptimize/reviews/#new-post)!
   🙂
 * frank

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Never deleting cache’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/never-deleting-cache/#post-13790253)
 * Status: resolved