• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RESOLVED How to clear cache auto? Is that premium feature?

alexkovalev

Program developer
Staff member
Messages
267
Likes
19
Points
18
#2
Hi,

Clearfy does not have its proper cache purging mechanism, as this could remove optimized CSS/JS which is still referred to in other caches, which would break your site.

Instead you can keep the cache size at an acceptable level by either:

* disactivating the “aggregate inline JS” and/ or “aggregate inline CSS” options
* excluding JS-variables (or sometimes CSS-selectors) that change on a per page (or per pageload) basis.

You can also expand the size of the cache storage space so that it does not bother you too often. Use this php code:

=========
Code:
add_filter('wmac_filter_cachecheck_maxsize','wbcr_clr_change_maxsize');

function wbcr_clr_change_maxsize() {

return 10*1024*1024;

}
=========

This code can be placed in the function.php file or with our snippet plugin: Woody ad snippets – insert any code, text, or ads via using conditions

Best regards, Alex