Title: Cache Size and Disk Space Usage
Last modified: August 22, 2016

---

# Cache Size and Disk Space Usage

 *  Resolved [WebPrezence](https://wordpress.org/support/users/webprezence/)
 * (@webprezence)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/cache-size-and-disk-space-usage/)
 * Hey Frank — I think you do wonderful work, and this plugin on the WordPress repository
   just an example of it.
 * I’m having an issue, and I’m not sure if it’s something about your plugin, or
   something I’m doing (wrong) on my end.
 * My VPS at BlueHost has a lot of disk space. I noticed that, since implementing
   Autoptimize, it went up. This morning it was at 100%, and my VPS was shut down.
 * As it turns out, autoptimize is creating dozens and dozens of css iles (average
   about 100-120 each) under /cache/autoptimize/css …. each file was about 400-450
   kbs. With this many files under my websites, they just kept eating away at my
   disk space. Here’s a [screen capture](http://i.imgur.com/X2aXtL8.jpg) from my
   FTP client on one of the affected sites.
 * Once I deleted these files, I went from 100% to 58% of my disk space, which is
   much more reasonable.
 * I have read [your post](http://blog.futtta.be/2014/03/19/how-to-keep-autoptimizes-cache-size-under-control-and-improve-visitor-experience/)
   regarding this issue.
 * I’m not optimizing my js; just my css, and I’m deferring everything inilne.
 * Am I doing something wrong, Frank? Or is there a way to fix this so it doesn’t
   take up so much disk space?
 * Thanks! And thanks again for making your plugin available on the WordPress repository!
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/cache-size-and-disk-space-usage/#post-5483191)
 * Hi Jason;
    If you’re only using CSS optimization and the number of AO-files is
   that big, there must be something that makes the CSS on each page just a bit 
   different, which results in one (or more) autoptimized CSS-file per page, while
   ideally multiple pages (posts) re-use the same autoptimized file.
 * There are two ways you can attack this problem;
    1. look at the HTML source of 2 (or more) very similar pages or posts with AO disabled(
       or enabled and ?ao_noptimize=1 appended to the URL) and look for (possibly very
       small) differences in the inline CSS
    2. on the server compare CSS files and look what is different in there
 * The differences found in either approach should allow you to identify what CSS
   should be excluded from optimization. Once that is done, you should see a significant
   lower amount of files being created.
 * Hope this helps,
    frank
 *  Thread Starter [WebPrezence](https://wordpress.org/support/users/webprezence/)
 * (@webprezence)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/cache-size-and-disk-space-usage/#post-5483213)
 * Thanks Frank!
 * I’ll go ahead and do that. Your plugin has so many advantages, that I’ll work
   as long as I need to in order to get this to function as intended.
 * Thanks for taking the time to reply!

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

The topic ‘Cache Size and Disk Space Usage’ 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

 * [disk space](https://wordpress.org/support/topic-tag/disk-space/)

 * 2 replies
 * 2 participants
 * Last reply from: [WebPrezence](https://wordpress.org/support/users/webprezence/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/cache-size-and-disk-space-usage/#post-5483213)
 * Status: resolved