Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
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.
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - Obsolete
Use of this project is deprecated. - Module categories: Performance
- Created by Garrett Albright on , updated