Title: autoptimize cache files
Last modified: November 15, 2018

---

# autoptimize cache files

 *  Resolved [Dean Williams](https://wordpress.org/support/users/deano1987/)
 * (@deano1987)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-cache-files/)
 * So something that concerns me about autopimize…
 * When it does a re-cache it obviously starts using a new filename, however anyone
   holding a cache of a page, IE GOOGLE CACHE will still be trying to load a previous
   version of the CSS.
 * So from the link ive shared here you can see that all the CSS is missing because
   when you create a new optimize file you delete the old one… This is not good 
   at all.
 * Is there a way to manage this so we can keep old caches, or at least force the
   old paths to just load the new cache maybe?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fautoptimize-cache-files%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/autoptimize-cache-files/#post-10889848)
 * > because when you create a new optimize file you delete the old one…
 * well, that’s the thing, AO does not delete the old files Dean 🙂
 * what might be happening:
    * you changed AO settings upon which the cache is cleared*
   some other plugin/ theme is calling `autoptimizeCache::clearall()` method (which
   I think is a mistake)
 * hope this clarifies,
    frank
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/autoptimize-cache-files/#post-10895687)
 * closing as not due to AO itself, but in case you use the Divi theme; that one
   turns out to be [purging AO’s cache after posts/ pages being published](https://blog.futtta.be/2018/11/17/warning-divi-purging-autoptimizes-cache/)(
   or saved even?). It should not do that, feel free to tell them 🙂
 * frank

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

The topic ‘autoptimize cache files’ 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/)

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