OPcache Reset

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.

Notice

  • Important: To use this plugin, check the following.
    1. PHP 5.5 or later, Did you compile PHP with –enable-opcache option?
    2. PHP 5.4 or earlier, Did you installed PECL ZendOpcache?
    3. If not, please see this document and enable/install OPcache.
    4. 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.
    5. The “which” utility (typically preinstalled), thus a Linux OS

Reviews

May 27, 2019
This almost what I have been looking for. The OPCache is also reset when installing new plugins, but not when deinstalling.
Read all 1 review

Contributors & Developers

“OPcache Reset” is open source software. The following people have contributed to this plugin.

Contributors

Translate “OPcache Reset” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

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

  • Handle file OPCaches

1.0.0

  • Initial release.