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년 February 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년 November 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
2019년 June 14일
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.
모든 12 평가 읽기

기여자 & 개발자

“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