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…

Часто задаваемые вопросы

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.

Отзывы

14.11.2019
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
14.06.2019
I have a cron to flush opcache but at a set interval, some sites will be down before that interval so this plugin is a lifesaver. I will be including this plugin in my bash script.
Посмотреть все 10 отзывов

Участники и разработчики

«WP OPcache» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«WP OPcache» переведён на 2 языка. Благодарим переводчиков за их работу.

Перевести «WP OPcache» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

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