The easiest way to clear caches including WordPress cache, PHP Opcache, Nginx cache, Transient cache, Varnish cache, and object cache (e.g. Redis).
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Create LICENSE Oct 3, 2018
readme.md Update readme.md Feb 15, 2019
releases.json Update releases.json Feb 13, 2019

readme.md

Clear Caches

The easiest way to clear caches including WordPress cache, PHP Opcache, Nginx cache, Transient cache, Varnish cache, and object cache (e.g. Redis).

Defined Constants

/* 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');

Compatibility

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 mu-plugins directory.

Support Issues

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.