• Resolved teeboy4real

    (@teeboy4real)


    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://ww.wp.xz.cn/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.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Raul P.

    (@alignak)

    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

    (@teeboy4real)

    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.