Title: Autoclear Cache
Last modified: October 3, 2023

---

# Autoclear Cache

 *  Resolved [artiosmedia](https://wordpress.org/support/users/artiosmedia/)
 * (@artiosmedia)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/autoclear-cache-3/)
 * Hello [@futtta](https://wordpress.org/support/users/futtta/) and [@optimizingmatters](https://wordpress.org/support/users/optimizingmatters/),
 * Could you kindly add a maintenance tab to the settings panel, that includes the
   few settings found in the plugin “Autoclear Autoptimize Cache”? It is a highly
   desirable function, much needed, but the author has abandoned it.
 * **Settings**
 * The current cache size is 0 MB
   The current maximum cache setting is 0 MBMaximum
   cache file size [64 Megabytes]
 * [ **Save Changes** ]
 * VillaTheme came along with a similar plugin that is packed with opportunist product
   spam. I quickly uninstalled that trash. I could easily develop a no-nonsense 
   plugin myself having several on the WordPress Repository, but this feature belongs
   in Autoptimize itself, not a secondary plugin that could result in later conflicts,
   etc.
 * Thanks!

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/autoclear-cache-3/#post-17095258)
 * I’m afraid not; auto-clearing AO’s cache could break sites entirely is the page
   cache is not cleared at the same moment. Additionally a fast growing cache is
   [an indication of more important issues](https://blog.futtta.be/2016/09/15/autoptimize-cache-size-the-canary-in-the-coal-mine/)
   and can be prevented by changing the configuration (not aggregating (inline) 
   JS/ CSS).
 * hope this clarifies,
    frank
 *  Thread Starter [artiosmedia](https://wordpress.org/support/users/artiosmedia/)
 * (@artiosmedia)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/autoclear-cache-3/#post-17095442)
 * Thanks for your “frank” feedback, [@optimizingmatters](https://wordpress.org/support/users/optimizingmatters/),
   
   I read your cautionary tale and comprehended the hosted account that incurred“
   Out of Space” for the hosting was likely the sum composite of too many JavaScript
   files caching. The cache was burgeoning at 300 MB, with emails nearly full, causing
   the 2GB limit account to freeze up. Since I have been trying to keep the cache
   trimmed on all accounts. Apparently, that approach defeats largely the purpose
   of caching in the first place. I will incrementally remove the cache cleaner 
   across accounts and watch for cache size problems. In my case, “Also aggregate
   inline JS?” is always unchecked. I use the ThemeFusion Avada theme across all
   my accounts since inception and they include a host of performance options that
   replicate many of the functions that Autoptimize provides, therefore I am careful
   to disable those features so as not to have two sources trying to perform the
   same optimizations.Thanks for your clarifications and the exceptional module!
   I have been using it since I think 2016 starting with 2.1 🙂
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/autoclear-cache-3/#post-17095490)
 * 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
 *  [alexliii](https://wordpress.org/support/users/alexliii/)
 * (@alexliii)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/autoclear-cache-3/#post-17175523)
 * Hello,
 * This is a great topic, and I checked the post at [https://blog.futtta.be/2016/09/15/autoptimize-cache-size-the-canary-in-the-coal-mine/](https://blog.futtta.be/2016/09/15/autoptimize-cache-size-the-canary-in-the-coal-mine/)
 *     ```wp-block-code
       add_filter('autoptimize_filter_cachecheck_maxsize','change_maxsize');
       function change_maxsize() {
       return 10*1024*1024;
       }
       ```
   
 * I am just thinking if I should add the above code snipts on our site, could you
   please clarify where the cache stored? Does it use the server memory, or stored
   cache on Server Disk?
 * Here are server enviroment: [https://prnt.sc/cZQA1Ie5WVTP](https://prnt.sc/cZQA1Ie5WVTP)
 * 8 GB Memory, and average usage is around 80%.
 * 160G Disk capacity, average usage is around 15%
 * So, what size should we should allocate for Autoptimize Maxsize here?
 * Thanks in advance.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/autoclear-cache-3/#post-17175575)
 * it’s stored on the server disk, in `wp-content/cache/autoptimize`. allocating
   more space is … useless, it just hides the problem for a little longer really.
   not aggregating (inline) JS/ CSS is generally the better approach 🙂
 * frank

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

The topic ‘Autoclear 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/)

## Tags

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

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