Description
OpCache Monitor and Reset adds a dedicated Tools screen for WordPress administrators to:
- Inspect OPcache runtime status and key performance metrics.
- Review memory usage, restart counters, and JIT status.
- Clear OPcache safely via AJAX without leaving wp-admin.
- See an automatic admin notice after plugin updates when OPcache is reset.
This plugin is designed for environments where PHP OPcache is enabled.
Installation
- Upload the
opcache-monitor-and-resetfolder to/wp-content/plugins/. - Activate the plugin through the
Pluginsmenu in WordPress. - Open
Tools -> OpCache Monitor and Reset.
FAQ
Who can use this plugin?
Only users with the manage_options capability can access the tools page and clear OPcache.
What happens if OPcache is not available on the server?
The plugin shows a warning and does not attempt reset actions.
Does this plugin work on multisite?
Yes, it can run on multisite where OPcache functions are available and the user has the required capability.
Screenshots
Changelog
1.0.1
- Kept third-party admin notices outside the plugin header area.
1.0.0
- Initial public release.
- Added OPcache dashboard in Tools.
- Added AJAX OPcache reset action and update-time reset notice.
