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.
Hello,
Will you be creating any feature for auto clear cache based on file size?
Thanks