Title: Autoptimize Cache Files (over 9,000!)
Last modified: September 1, 2016

---

# Autoptimize Cache Files (over 9,000!)

 *  Resolved [gotmedia](https://wordpress.org/support/users/gotmedia/)
 * (@gotmedia)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/autoptimize-cache-files-over-9000/)
 * Hi there,
 * I noticed in wp-content > cache_ > autoptimize > js > I have over 9,000 .js files.
   I was wondering — do I need all of them?
 * Just seems like a lot when I backup my site.
 * With my CSS, I have 116 files which isn’t bad, but will obviously grow over time.
 * Thoughts?
 * Kind regards,
    Stephanie
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/autoptimize-cache-files-over-9000/#post-7547320)
 * Hi Stephanie;
    9000 js files means you probably have “aggregate inline JS” active.
   [as the FAQ explains](https://wordpress.org/plugins/autoptimize/faq/) this can
   in some cases results in a huge amount of files being cached. you can either 
   disable “aggregate inline JS” (test if all works, you might have to do additional
   re-config to fix things) or you could try to identify the inline JS that is responsible
   for the cache busting and exclude just that ([see FAQ for more info](https://wordpress.org/plugins/autoptimize/faq/)).
 * hope this clarifies,
    frank
 *  [Scott Hartley](https://wordpress.org/support/users/destac/)
 * (@destac)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/autoptimize-cache-files-over-9000/#post-7547491)
 * the easiest thing to do is as Frank said uncheck the aggregate inline JS which
   might return a JS error in which case make sure you exclude jquery.js (which 
   I recommend be excluded by default).
 * 90% of problems arise when you aggregate jquery with the rest of the JavaScript.
 *  Thread Starter [gotmedia](https://wordpress.org/support/users/gotmedia/)
 * (@gotmedia)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/autoptimize-cache-files-over-9000/#post-7547492)
 * Hi there,
 * Thank you for your reply! I did uncheck the aggregate inline JS, but I still 
   do have over 9000 files. Can I delete them?
 * Thank you,
    Stephanie
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/autoptimize-cache-files-over-9000/#post-7547493)
 * >  Can I delete them?
 * you can, but make sure to also purge any page cache you might have.
 * frank

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

The topic ‘Autoptimize Cache Files (over 9,000!)’ 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](https://wordpress.org/support/topic-tag/cache/)

 * 4 replies
 * 3 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/autoptimize-cache-files-over-9000/#post-7547493)
 * Status: resolved