OpCache Monitor and Reset

Plugin Banner

OpCache Monitor and Reset

by Dmytro

Download
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.

  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.
  1. OPcache dashboard with memory usage, cache state, performance, restart counters, JIT status, and configuration snapshot.

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

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.

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.
Back to top