WP OPcache

外掛說明

清除 OPcache 快取

  • 在工具列上新增能清除 OPcache 快取的按鈕
  • 僅清除 WordPress 網站絕對路徑中的檔案快取
  • 使用個別或批次方式處理檔案無效化
  • 同時支援記憶體及檔案快取
  • 支援多站網路

OPcache 快取統計資料

  • 記憶體、快取命中、暫存字串及索引鍵統計資料
  • 命令、函式及一般資訊
  • 全部檔案的清單
  • 完整回應式設計

支援 WP-CLI

  • 新增 WP-CLI 命令 flush-opcache 以清除快取:wp flush-opcache flush
  • 請務必在伺服器的 PHP 組態檔中加入 opcache.enable_cli=1

管理後台 [工具] 選單中的 3 個分頁:

  • 一般設定:外掛設定
  • 統計資料:回應式設計的 OPcache 快取統計資料控制台
  • 已快取的檔案:已快取的檔案清單,可選擇性清除

螢幕擷圖

  • 工具列上的清除按鈕
  • 清除 OPcache 快取後的 WordPress 通知
  • [一般設定] 分頁
  • [統計資料] 分頁
  • [已快取的檔案] 分頁
  • CLI 命令

安裝方式

使用自動安裝或手動安裝均可…

使用者評論

2021 年 2 月 8 日 1 則留言
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!
閱讀全部 21 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP OPcache〉的開發相關工作。

參與者

〈WP OPcache〉外掛目前已有 11 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

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

對開發相關資訊感興趣?

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

變更記錄

4.2.3

  • Ensure user is admin or superadmin to display flush button in admin bar
  • Ensure to not continue if OPcache is disabled or not installed to avoid printing PHP errors

4.2.1

  • Maintenance release
  • Menu moved under Tools

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