描述
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.
屏幕截图

安装
- Upload the
opcache-monitor-and-resetfolder to/wp-content/plugins/. - Activate the plugin through the
Pluginsmenu in WordPress. - Open
Tools -> OpCache Monitor and Reset.
常见问题
-
Who can use this plugin?
-
Only users with the
manage_optionscapability 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.
评价
此插件暂无评价。
贡献者及开发者
更新日志
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.