WordPress mu-plugin that purges opcache on plugin or theme update.
If you turn of timestamp validation to avoid unnecessary filesystem calls, you will need this plugin to make sure PHP:s opcache is resetted when plugins and themes are updated.
- In your
wp-content
directory, create amu-plugin
directory if it not already exists. - Copy
kntnt-reset-opcache-on-update.php
intomu-plugin
. Only the file. No additional directory.
Renamed. Added admin notice.
Initial release.