OPcache!

Component ID

2318557

Component name

OPcache!

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module is abandoned. I'm joining forces on Brian Altenhofel's OPcache module, which actually came out a couple of days before this one. Please use that module instead.

This module provides some niceties if you use the OPcache PHP opcode cache with Drupal.

Specifically, it does the following:

  • Adds a row to the site status report (Administration > Reports > Status report) with some basic statistics on the current OPcache state and some advisories on how to configure it to improve compatibility and performance with your Drupal site.
  • Clears (or, more correctly, resets) the OPcache cache when the Drupal site cache is cleared using the button on the Performance page.
  • Through a slightly nasty hack, also resets the site OPcache cache (even when OPcache is enabled for CLI scripts, the CLI and web server environments will use different caches) when all caches or cleared via Drush. You can also specifically reset just the OPcache cache with drush cc opcache.

This module is abandoned. I'm joining forces on Brian Altenhofel's OPcache module, which actually came out a couple of days before this one. Please use that module instead.