Title: WP OPcache
Author: nierdz
Published: <strong>2017 年 2 月 15 日</strong>
Last modified: 2025 年 2 月 27 日

---

搜尋外掛

![](https://ps.w.org/flush-opcache/assets/banner-772x250.jpg?rev=1727000)

![](https://ps.w.org/flush-opcache/assets/icon-256x256.jpg?rev=1716642)

# WP OPcache

 由 [nierdz](https://profiles.wordpress.org/mnttech/) 開發

[下載](https://downloads.wordpress.org/plugin/flush-opcache.4.2.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/flush-opcache/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/flush-opcache/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/flush-opcache/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/flush-opcache/#developers)

 [技術支援](https://wordpress.org/support/plugin/flush-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 命令

## 安裝方式

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

## 使用者評論

![](https://secure.gravatar.com/avatar/75f6ad5955d473b4453266faa64c76e092ab97f53314fdacf677f31ce298911d?
s=60&d=retro&r=g)

### 󠀁[WORKS 100% BUT NEED UPDATE](https://wordpress.org/support/topic/works-100-but-need-update/)󠁿

 [frayer69](https://profiles.wordpress.org/frayer69/) 2025 年 4 月 18 日 1 則留言

First, thank you! Second, please update it!!!

![](https://secure.gravatar.com/avatar/3c3964d2e71a4eee83dfa0c2b750853a2d603d0004d22494b6855051dafebca9?
s=60&d=retro&r=g)

### 󠀁[Bast OPCache Manager for WordPress](https://wordpress.org/support/topic/bast-opcache-manager-for-wordpress/)󠁿

 [onico0](https://profiles.wordpress.org/onico0/) 2022 年 8 月 18 日

Thanks and keep going please! 🙂

![](https://secure.gravatar.com/avatar/9d8616c4f904cde25a9aa8d7e5a9ee5a9b603d6a84b2a55ef69f38c85159307c?
s=60&d=retro&r=g)

### 󠀁[Provides useful insights](https://wordpress.org/support/topic/provides-useful-insights/)󠁿

 [nmxde](https://profiles.wordpress.org/nmxde/) 2022 年 6 月 7 日

Good way to find out how well your opcache setup works

![](https://secure.gravatar.com/avatar/844986968393895183ef89c0939b798e41330d595b51502337de72ce011bcf55?
s=60&d=retro&r=g)

### 󠀁[Läuft perfekt!](https://wordpress.org/support/topic/lauft-perfekt/)󠁿

 [Oliver Kler](https://profiles.wordpress.org/oliverkler/) 2021 年 5 月 21 日

Läuft einwandfrei und tut genau das, was es soll!

![](https://secure.gravatar.com/avatar/b386c3be63ad40515532f06f0a3f8fc3c5a9c760da75708f03eff64f35cd66d4?
s=60&d=retro&r=g)

### 󠀁[works great](https://wordpress.org/support/topic/works-great-7547/)󠁿

 [shawfactor](https://profiles.wordpress.org/shawfactor/) 2021 年 3 月 15 日

Does what is says, fantastic plugin

![](https://secure.gravatar.com/avatar/5c6e37d9a645b29d45e7ceb3c970d1ce9108cedc26c2eb9d36ac7620bb5348fe?
s=60&d=retro&r=g)

### 󠀁[Thank you for the useful tool](https://wordpress.org/support/topic/thank-you-for-the-useful-tool/)󠁿

 [lederwerkstatt](https://profiles.wordpress.org/lederwerkstatt/) 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 則使用者評論 ](https://wordpress.org/support/plugin/flush-opcache/reviews/)

## 參與者及開發者

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

參與者

 *   [ nierdz ](https://profiles.wordpress.org/mnttech/)

〈WP OPcache〉外掛目前已有 11 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/flush-opcache/contributors)
為這個外掛做出的貢獻。

[將〈WP OPcache〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/flush-opcache)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/flush-opcache/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/flush-opcache/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/flush-opcache/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/flush-opcache/)。

## 變更記錄

#### 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](https://github.com/nierdz/flush-opcache/releases)

## 中繼資料

 *  版本 **4.2.3**
 *  最後更新 **1 年前**
 *  啟用安裝數 **10,000+**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.7.5**
 *  PHP 版本需求 ** 8.1 或更新版本 **
 *  語言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/flush-opcache/)、[Danish](https://da.wordpress.org/plugins/flush-opcache/)、
   [Dutch](https://nl.wordpress.org/plugins/flush-opcache/)、[English (US)](https://wordpress.org/plugins/flush-opcache/)、
   [French (France)](https://fr.wordpress.org/plugins/flush-opcache/)、[German](https://de.wordpress.org/plugins/flush-opcache/)、
   [Japanese](https://ja.wordpress.org/plugins/flush-opcache/)、[Korean](https://ko.wordpress.org/plugins/flush-opcache/)、
   [Russian](https://ru.wordpress.org/plugins/flush-opcache/)、[Spanish (Chile)](https://cl.wordpress.org/plugins/flush-opcache/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/flush-opcache/)、及 [Swedish](https://sv.wordpress.org/plugins/flush-opcache/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/flush-opcache)
 * 標籤:
 * [cache](https://tw.wordpress.org/plugins/tags/cache/)[flush](https://tw.wordpress.org/plugins/tags/flush/)
   [multisite](https://tw.wordpress.org/plugins/tags/multisite/)[OPcache](https://tw.wordpress.org/plugins/tags/opcache/)
   [php](https://tw.wordpress.org/plugins/tags/php/)
 *  [進階檢視](https://tw.wordpress.org/plugins/flush-opcache/advanced/)

## 評分

 4.8 星，滿分為 5 星

 *  [  19 個 5 星使用者評論     ](https://wordpress.org/support/plugin/flush-opcache/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/flush-opcache/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/flush-opcache/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/flush-opcache/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/flush-opcache/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/flush-opcache/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/flush-opcache/reviews/)

## 參與者

 *   [ nierdz ](https://profiles.wordpress.org/mnttech/)

## 技術支援

最近 2 個月解決的問題:

     總計 2 個問題，已解決 0 個

 [檢視技術支援論壇](https://wordpress.org/support/plugin/flush-opcache/)