這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP OPcache

描述

Flush OPcache

  • add a button in admin bar to flush OPcache
  • flush only files in WordPress absolute path
  • individual or bulk file invalidation
  • support both memory and file caching
  • support multisite

OPcache Statistics

  • memory, hits, strings and keys statistics
  • directives, functions and general informations
  • list all files
  • fully responsive

WP CLI ready

  • add flush-opcache command to flush cache with cli: wp flush-opcache flush
  • don’t forget to add opcache.enable_cli=1 to your PHP configuration

There are three tabs in admin page:

  • General settings: plugin settings
  • Statistics: responsive dashboard about OPcache statistics
  • Cached files: list of cached files with the possibility of invalidating them

螢幕截圖

  • Flush button in admin bar
  • WordPress Notice after flushing OPcache
  • General settings tab
  • Statistics tab
  • Cached files tab
  • CLI command

安裝

As usual…

評價

2021年2月8日 1 reply
Vielen Dank für das nützliche Tool. Ich benutze es regelmäßig seit vielen Jahren, um den Opcache mit einem Klick zu löschen. Auch die Informationen zu der Belegung des Speichers finde ich nützlich. Ich bin sehr zufrieden mit dem Plugin! Thank you for the useful tool. I use it regularly for many years to clear opcache with one click. I also find the information on memory usage useful. I am very satisfied with the plugin!
閱讀全部18個評價

貢獻者及開發者

“WP OPcache” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

WP OPcache 外掛目前已有 6 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 WP OPcache 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

4.2.0

  • Add CLI support

4.1.4

  • Fix a bug on clearing cache after upgrade
  • Flush files even when WP use its own directory
  • Use WordPress 6.0 as default
  • Use php8.0 as default

4.1.3

  • Fix a bug on datetime in cached file list

4.1.2

  • Fix a bug with ABSPATH when WordPress uses its own directory

4.1.1

  • Tested up to WordPress 5.8

4.1.0

  • Remove i18n (use translate.wordpress.org)
  • Use wp_opcache_invalidate instead of opcache_invalidate

4.0.1

  • Enhance README.txt
  • Remove old screenshots

4.0.0

  • Invalidate files only in WordPress absolute path
  • Use tabs instead of pages in admin area
  • New tab with cached files list
  • Tested up to WordPress 5.7.1

Full changelog here