PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. PHP
  4. OPcache Reset
OPcache Reset icon

OPcache Reset

Automatic OPcache reset for WordPress. Invalidates both in-memory and file-based OPCache upon upgrading WordPress.

By Danila Vershinin·PHP·Free
4(1 reviews)
·300 active installs·Updated 3 months ago
DownloadVisit HomepageCompare

As of April 2026, OPcache Reset is a WordPress php plugin with 300 active installations and a 4/5 rating from 1 reviews. It has been downloaded 7.7K+ times in total. Requires WordPress 5.0+ and PHP 7.4+. Available on WordPress.org since 2018. Top alternative: WPCode – Insert Headers and Footers +….

4/51 reviews
300active installs
7.7K+total downloads
8 yearssince 2018

Overview

This plugin clears OPcache after updating WordPress core, themes, and files.
Unlike other plugins, it is also compatible with WordPress updates made by Linux cron.

Features

  • Automatic OPcache reset after plugin/theme/core updates
  • Clears both memory-based and file-based OPcache
  • Works with cron-based WordPress updates (CLI context)
  • WP-CLI commands for manual OPcache management
  • Zero external dependencies (optional cachetool support)

Configuration

The plugin works automatically for web-based updates. For CLI-based updates (cron, WP-CLI), configure your PHP-FPM socket:

Option 1: Create .cachetool.yml in your WordPress root:

adapter: fastcgi
fastcgi: /run/php-fpm/www.sock

Option 2: Use cachetool binary (if installed in PATH)

WP-CLI Commands

Reset OPcache from the command line:

wp opcache rese…
Read full description on WordPress.org

Ratings & Reviews

41 reviews
5 ★
0
4 ★
1
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress5.0+ requiredTested up to 6.9.4
PHP7.4+ required

Top Alternatives to OPcache Reset

WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager icon
WPCode – Insert Headers and Footers +…
4.93.0M+ installsUpdated 2 weeks ago
ViewCompare
Code Snippets icon
Code Snippets
4.71.0M+ installsUpdated 1 month ago
ViewCompare
PHP Compatibility Checker icon
PHP Compatibility Checker
2.7200K+ installsUpdated 2 years ago
ViewCompare
PHP Code Widget icon
PHP Code Widget
4.790K+ installsUpdated 4 years ago
ViewCompare
Error Log Monitor icon
Error Log Monitor
4.320K+ installsUpdated 6 months ago
ViewCompare
View all php plugins →

Frequently Asked Questions

Changelog

2.4.0

  • Added WP-CLI commands: wp opcache reset and wp opcache status
  • Added direct FastCGI communication (no cachetool dependency required)
  • Added support for cachetool.yml configuration format
  • Added end-to-end FastCGI testing
  • Improved test coverage (34 tests)
View full changelog on WordPress.org

Contributors

Danila VershininDanila Vershinin
Plugin Info
Version
2.4.0
Last Updated
Dec 15, 2025
WP Requires
5.0+
Tested Up To
6.9.4
PHP Requires
7.4+
Active Installs
300
Downloads
7.7K+
Added
Jun 1, 2018
Business
Free

Tags

phpzendcachewp-cliopcache

Developer

D
Danila Vershinin
4 plugins0.0M+ total installs
View all plugins →

Quick Compare

OPcache Reset vs WPCode – Insert Headers and Footers +…→OPcache Reset vs Code Snippets→OPcache Reset vs PHP Compatibility Checker→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.