=== OPcache Reset === Tags: PHP, Zend, OPcache, cache Requires at least: 3.8 Tested up to: 6.5.3 Stable tag: 2.1.9 License: GPLv2 License URI: https://www.gnu.org/licenses/gpl-2.0.html Plugin URI: https://www.getpagespeed.com/wordpress-opcache-reset Donate link: https://www.buymeacoffee.com/dvershinin Automatic OPcache reset for WordPress. Invalidates both in-memory and file-based OPCache upon upgrading WordPress. == Description == 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](https://www.getpagespeed.com/server-setup/performance-friendly-wordpress-updates). ### Notice * **Important**: To use this plugin, set up high-performance PHP caching first: 1. [Enable PHP OPcache](https://www.getpagespeed.com/server-setup/php/zend-opcache) 2. Configure the [cachetool](https://github.com/gordalina/cachetool) utility. It must be in your `PATH` and named `cachetool`. == Changelog == = 2.1.9 = * Now using command shell buil-in instead of which = 2.1.8 = * Determine file-based OPCache path while in PHP-FPM context = 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 = * Handle file OPCaches = 1.0.0 = * Initial release.