WP OPcache

Description

This extension adds a button in your admin area to flush OPcache easily. It supports both memory and file caching transparently.
If this is a multisite installation, it only shows up in network admin dashboard.
There is a submenu page with all statistics about OPcache. There is an option to automatically flush OPcache when a WordPress or plugin update occurred.
The statistics tabs relies on https://github.com/wp-cloud/opcache-status
If you want to add a translation in your own language, you can use flush-opcache.pot located in languages folder and send me by email.

Screenshots

  • Here is the button you'll get using Flush OPcache
  • When you just flushed OPcache, here is a notice
  • General settings tabs
  • Statistics tabs

Installation

As usual…

FAQ

Installation Instructions

As usual…

Does I need to have OPcache activated on my server to use this plugin?

I think the answer is in the plugin’s name 😉

Do I need to know something before install this plugin?

Yes, If you’re working in a shared server, OPcache is shared across all PHP users so when you flush OPcache, you do it on every websites this server hosts.
Nothing related to this plugin, it’s just the way Zend OPcache works… This plugin only triggers opcache_reset() function.

Reviews

Its working for whole server

every time i got connection reset by the peer with opcahce.

but now i understood opcache validate frequency.

this showed all opcache settings in the wp dashboard.

now i need to know what is file cache only settings in opcache

Excellent plugin

Nice visualizations, basic but useful settings, works perfectly with OpCache 7.0.6-dev. Exactly the plugin I was hoping for.

Works perfectly!

Makes clearing the the opcache so much easier than restarting the php-fpm and httpd servers. I have confirmed that it works by examining the opcache before and after.

Thank you so much!

Read all 5 reviews

Contributors & Developers

“WP OPcache” is open source software. The following people have contributed to this plugin.

Contributors

“WP OPcache” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “WP OPcache” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.4.2

  • Add dismiss button to notice when opcache is closed

2.4.1

  • Bugfix release

2.4

  • Add support for opcache.file_cache purging
  • Update German translation, courtesy of Kolja Spyra

2.3

  • Update statistics tab with this opcache-status project: https://github.com/wp-cloud/opcache-status
  • Add option to hide button in admin bar
  • Minor bugfixes
  • Update French translation

2.2

  • Bugfix in options
  • Compatible with multisite
  • Remove powered by option

2.1

  • Change plugin name
  • Warning when opcache is loaded but no active
  • Add an option to prewarm OPcache

2.0.1

  • Minor fix to make translation works on wordpress.org

2.0

  • Add options page
  • Add statistics tabs in options pages
  • Add option to flush OPcache automatically after an upgrade

1.2

  • Add German translation, courtesy of Kolja Spyra

1.1

  • Add French translation

1.0

  • First version