The easiest way to clear caches including WordPress cache, PHP Opcache, Nginx cache, Transient cache, Varnish cache, and object cache (e.g. Redis).
/* Plugin Meta */ define('AUTOMATIC_UPDATE_PLUGINS', false); define('DISABLE_NAG_NOTICES', true); /* Clear Caches Functions */ define('CLEAR_CACHES', true); define('CLEAR_CACHES_NGINX', true); define('CLEAR_CACHES_NGINX_PATH', '/var/www/cache'); define('CLEAR_CACHES_OBJECT', true); define('CLEAR_CACHES_OPCACHE', true); define('CLEAR_CACHES_TRANSIENTS', true); define('CLEAR_CACHES_VARNISH', true); define('CLEAR_CACHES_VARNISH_PATH', '/var/www/cache');
This plugin has been designed for use on SlickStack web servers with PHP 7.2 and MySQL 5.7 to achieve best performance. All of our plugins are meant for single site WordPress installations only — for both performance and usability reasons, we strongly recommend avoiding WordPress Multisite for the vast majority of your projects.
Any of our WordPress plugins may also be loaded as "Must-Use" plugins (meaning that they load first, and cannot be deactivated) by using our free Autoloader script in the
Please do not submit Pull Requests. Instead, kindly create a new Issue with relevant information if you are an experienced developer, otherwise you may become a LittleBizzy.com Member if your company requires official support.