M2 | OPcache Manager GUI

1. OPcache Memory Usage

The first panel displays current OPcache memory usage statistics including hit/miss rate, wasted and free memory. Hit/miss rate and memory usage are also charted at the top for ease of use. Values are grouped according to the information they report.

2. Configuration Directives

The second panel shows the current values for the various runtime configuration settings. Each configuration title links to its corresponding documentation.

3. Cached Scripts

This panel must be enabled from Magento's settings ( Stores > Settings > Configuration > TCMP Studio > OPcache > General Settings ).  Depending on your environment, and based on the nature of Magento, this list is going to be long and tends to be a little render blocking which will be addressed in later versions when per-cache file invalidation is implemented.

4. Menu Reset Link

An optional quick reset link can be enabled from the settings section.  Additionally this link is fully controlled by Magento's ACL so only the roles you specify can clear the cache.

OPcache Menu Links

5. Installation

Run the following commands to get everything set up:

  • composer require tcmp/opcache
  • php bin/magento module:enable TCMP_OpCache
  • php bin/magento setup:upgrade
  • php bin/magento setup:static-content:deploy

Thats all, enjoy!

If you find any issues, have a suggestion, wish to contribute, or just want to read the source: OPcache GUI Github