Title: Manual clear cache button
Last modified: January 2, 2021

---

# Manual clear cache button

 *  Resolved [teeboy4real](https://wordpress.org/support/users/teeboy4real/)
 * (@teeboy4real)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/manual-clear-cache-button/)
 * Hello,
 * please can you bring back the button to clear cache manually. Also a feature 
   to automatically clear cache after a cache size limit is reached using wp cron
   like this plugin [https://wordpress.org/plugins/autoclear-autoptimize-cache/](https://wordpress.org/plugins/autoclear-autoptimize-cache/)
 * clear cache control can be either
    1. Time based – a time based WP_Cron setting
   that will clear cache every few days, week, month, etc. 2. Cache size based –
   a file size based WP_Cron setting that will clear cache when cache size is 50mb,
   100mb, etc based on settings
 * Thanks
    -  This topic was modified 5 years, 5 months ago by [teeboy4real](https://wordpress.org/support/users/teeboy4real/).

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

 *  Plugin Author [Raul P.](https://wordpress.org/support/users/alignak/)
 * (@alignak)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/manual-clear-cache-button/#post-13856179)
 * Hi,
 * The purge cache button is still there.
    Top wp-admin bar, under the FVM menu.
 * It doesn’t make sense to automatically expire cache files that do not need to
   expire.
    JS and CSS files do not change, unless you are manually updating or 
   modifying that code (in which case, you always need to manually purge cache anyway).
 * If you purge the cache on FVM, it will purge expired cache after 24 hours.
    You
   can also switch it to immediately purging, if you like.
 * A size limit could be helpful though, but to implement an LRU system to purge
   caches would eat up a lot of resources on wordpress. Furthermore, we cannot just
   automatically delete js or css cache files, because they may be linked from pages
   that are still in cache. If we were to do this without ensuring that page cache
   is cleared, anonymous users would see broken pages, as the css and js would be
   missing but the page itself, was still cached by some other plugin or your server
   cache.
 * I may implement something like this with REDIS (for those that have it), but 
   the limits are still going to be done on the server side. That kind of control,
   is sysadmin work.
 * If you must purge the cache after a certain size, you can create some shell script
   and manually trigger a cache purge once it hits a certain amount, not forgetting
   of course, to pure all other caches, else pages will be including deleted files.
 *  Thread Starter [teeboy4real](https://wordpress.org/support/users/teeboy4real/)
 * (@teeboy4real)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/manual-clear-cache-button/#post-13951547)
 * Hello,
 * Will you be creating any feature for auto clear cache based on file size?
 * Thanks

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

The topic ‘Manual clear cache button’ is closed to new replies.

 * ![](https://ps.w.org/fast-velocity-minify/assets/icon-128x128.jpg?rev=1440946)
 * [Fast Velocity Minify](https://wordpress.org/plugins/fast-velocity-minify/)
 * [Support Threads](https://wordpress.org/support/plugin/fast-velocity-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/fast-velocity-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fast-velocity-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fast-velocity-minify/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [teeboy4real](https://wordpress.org/support/users/teeboy4real/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/manual-clear-cache-button/#post-13951547)
 * Status: resolved