By default, whenever caching is cleared through Asset CleanUp, it also triggers caching clearing for other plugins. The changes made via Asset CleanUp (e.g. after updating “Settings”) would this way take effect immediately.

Some users prefer to avoid clearing other plugins’ caching for various reasons (e.g. the resources used to clear all the plugins’ caching are high, especially on websites with lots of articles).

Autoptimize

This option is available starting from Asset CleanUp v1.3.7.9 & Asset CleanUp Pro v1.1.9.5.

If you want to skip clearing “Autoptimize” plugin caching (e.g. prefer to have that caching cleared manually), you can do that by adding the following constant (just one line of code) to wp-config.php (note that it should be added BEFORE the line where “wp-settings.php” is required):

define('WPACU_DO_NOT_ALSO_CLEAR_AUTOPTIMIZE_CACHE', true);

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');

In case you change your mind later on and want to have the “Autoptimize” caching cleared, just set the constant to false or remove/comment that line.


Cache Enabler

This option will be available starting from Asset CleanUp v1.3.9.3 & Asset CleanUp Pro v1.2.3.5. (not published yet)

If you want to skip clearing “Cache Enabler” plugin caching (e.g. prefer to have that caching cleared manually), you can do that by adding the following constant (just one line of code) to wp-config.php (note that it should be added BEFORE the line where “wp-settings.php” is required):

define('WPACU_DO_NOT_ALSO_CLEAR_CACHE_ENABLER_CACHE', true);

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');

In case you change your mind later on and want to have the “Cache Enabler” caching cleared, just set the constant to false or remove/comment that line.

Note that whenever one of the mentioned constants are set to “true”, they will be also shown in “Overview” (plugin’s menu on your website) — “Special Settings” to remind you that you have a special setting in Asset CleanUp Lite/Pro.

Was this post helpful?