OpCache Monitor and Reset

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.

Screenshots

  • OPcache dashboard with memory usage, cache state, performance, restart counters, JIT status, and configuration snapshot.

Installation

  1. Upload the opcache-monitor-and-reset folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. 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.

Reviews

There are no reviews for this plugin.

Contributors & Developers

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

Contributors

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.