Title: increasing cache size
Last modified: February 17, 2021

---

# increasing cache size

 *  Resolved [boyington](https://wordpress.org/support/users/bottapress/)
 * (@bottapress)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/increasing-cache-size/)
 * Hi,
 * I am running a wordpress multisite network with thousands of sub sites using 
   your (wonderfull) autoptimize plugin.
 * I noticed since some weeks or months (not sure about the exact time it began)
   that the cache size of the main site [https://www.wordpress-hebergement.fr](https://www.wordpress-hebergement.fr)
   always increases (reaching 4GB after a few days).
 * Looking at the cache directory, I see there are around 70000 (little) files in
   it.
 * This is really strange because this site has just a few very simple pages. So
   I don’t get why there are so many cached files.
 * Do you have an idea of what could cause this problem ?
 * Thanks in advance
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fincreasing-cache-size%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/increasing-cache-size/#post-14065055)
 * Hey Boyington 🙂
    Do you have “also aggregate inline CSS” and/ or “also aggregate
   inline JS” on and if so can you disable them to see if that helps?
 * frank
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/increasing-cache-size/#post-14065146)
 * yep, pretty sure it’s “aggregate inline CSS”; you have “serious slider” which
   adds CSS selectors with a random value, e.g. `serious-slider-28-rnd1157` and 
   that last part changes if the page is reloaded (not from cache), so that causes
   cache misses every time that page is optimized. disabling “aggregate inline CSS”
   should help tons 🙂
 *  Thread Starter [boyington](https://wordpress.org/support/users/bottapress/)
 * (@bottapress)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/increasing-cache-size/#post-14079800)
 * It works !
 * I disabled the “Also aggregate inline JS” and the ”
    Optimize CSS Code” options
   and the cache size stopped increasing.
 * Thanks for your help !
 * Regards
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/increasing-cache-size/#post-14080088)
 * you’re welcome, feel free to [leave a review of the plugin and support here](https://wordpress.org/support/plugin/autoptimize/reviews/#new-post)!
   🙂

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

The topic ‘increasing cache size’ 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/)

## Tags

 * [cache size](https://wordpress.org/support/topic-tag/cache-size/)

 * 4 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/increasing-cache-size/#post-14080088)
 * Status: resolved