OPcache Reset Plugin
Automatic OPcache reset for WordPress. Invalidates both in-memory and file-based OPCache upon upgrading WordPress.
This plugin clears OPcache after updating WordPress core, themes, and files.
Unlike other plugins, it is also compatible with WordPress updates made by Linux cron.
Notice
- Important: To use this plugin, check the following.
- PHP 5.5 or later, Did you compile PHP with –enable-opcache option?
- PHP 5.4 or earlier, Did you installed PECL ZendOpcache?
- If not, please see this document and enable/install OPcache.
- The cachetool utility must be configured in order for OPCache to be cleared by this plugin. It must be in your
PATH
and named cachetool
. - The “which” utility (typically preinstalled), thus a Linux OS
Changelog
2.1.2
- No calling cachetool opcache:reset for setups with only file cache
2.1.0
- Handle file OPcaches in a consistent fashion
2.0.0
1.0.0