WP OPcache

説明

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.

スクリーンショット

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

インストール

As usual…

FAQ

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 on 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.

評価

2020年9月15日
Everyone really needs to make sure php opcache is enabled its often overlooked but the speed improvements it gives is significant. This plugin simply gives an easy way to flush the php opcache easily and its great at what it does!
2020年2月13日
Works perfectly, I like the statistic's panel (even if not really necessary :p ) In the settings, it might be better to enable "purge on update" as default, what do you think about it ? Thanks for this plugin, Regards
2019年11月14日
Thank you for this amazing plugin which I am using in my site with alexa rank under 10k for years without any conflict with anything else ,this is THE ONLY Plugin I use in my site with several Millions active posts (Each post has 5(Minimum) to over 200 Links) - with posters/thumbnails/Release's Informations... ,I strongly recommend to the sites with Huge databases
13件のレビューをすべて表示

貢献者と開発者

WP OPcache はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“WP OPcache” は3ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“WP OPcache” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

3.0.3

  • Tested with WordPress 5.4

3.0.2

  • Fix a bug where flush OPcache button is stuck in admin bar

3.0.1

  • Fully compliant with WordPress coding standards

3.0.0

  • Complete rewrite in OOP for better maintainability
  • Fix notice bug https://wordpress.org/support/topic/dismissing-the-opcache-was-successfully-flushed-message/
  • Fix bug on prewarm cache https://wordpress.org/support/topic/turning-on-prepcompile-php-option-causes-error/
  • Add continuous deployment with travis

2.4.3

  • Fix bug on prewarm cache https://wordpress.org/support/topic/recursivedirectoryiterator-does-not-skip-dotfiles/

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