Title: Nginx Cache
Author: Till Krüss
Published: <strong>2014 年 11 月 20 日</strong>
Last modified: 2026 年 5 月 4 日

---

搜尋外掛

![](https://ps.w.org/nginx-cache/assets/banner-772x250.jpg?rev=1029092)

![](https://ps.w.org/nginx-cache/assets/icon-256x256.jpg?rev=1029092)

# Nginx Cache

 由 [Till Krüss](https://profiles.wordpress.org/tillkruess/) 開發

[下載](https://downloads.wordpress.org/plugin/nginx-cache.1.0.8.zip)

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

 [技術支援](https://wordpress.org/support/plugin/nginx-cache/)

## 外掛說明

NGINX Cache 外掛能在 WordPress 網站內容變更時，自動或手動清除 [NGINX](https://nginx.org/)
快取 (FastCGI、Proxy、uWSGI)。

環境需求:

 * [Filesystem API](https://codex.wordpress.org/Filesystem_API) 必須在不要求認證
   的狀況下執行。
 * NGINX 及 PHP 必須使用同一個使用者執行，或 PHP 使用者具備寫入 NGINX 快取路徑的
   權限。

## 螢幕擷圖

[⌊外掛設定頁⌉⌊外掛設定頁⌉[

外掛設定頁

## 安裝方式

如需進一步了解相關資訊，請參考 [WordPress 外掛標準安裝程序](https://wordpress.org/support/article/managing-plugins/#finding-and-installing-plugins)。

 1. 安裝並啟用外掛。
 2. 前往 [工具]→[NGINX] 設定 [快取區域路徑]。
 3. 大功告成。

## 使用者評論

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

### 󠀁[Another Outstanding Plugin](https://wordpress.org/support/topic/another-outstanding-plugin/)󠁿

 [E-Liquids UK](https://profiles.wordpress.org/notblowingsmoke/) 2024 年 10 月 7
日

Another outstanding plugin from same developer who created Redis Object Cache Pro!
The plugin is lightweight and effective for purging nginx cache, teaming this plugin
with “syncthing” allows us to clear our caches across multiple servers in the pool.
It’s part of our core.

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

### 󠀁[Works with 6.5.3](https://wordpress.org/support/topic/works-with-6-5-3/)󠁿

 [imissit](https://profiles.wordpress.org/imissit/) 2024 年 5 月 7 日

Best plugin I’ve ever come across. Does the job, for free, asks nothing in return,
and is insanely minimal. Till is a legend.

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

### 󠀁[Don’t be fooled by lack of updates](https://wordpress.org/support/topic/dont-be-fooled-by-lack-of-updates/)󠁿

 [keysuck](https://profiles.wordpress.org/keysuck/) 2023 年 10 月 24 日

This plugin is the ONLY one that actually purges FastCGI cache without any impact
to the website.

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

### 󠀁[Simple & Perfect – Thanks](https://wordpress.org/support/topic/simple-perfect-thanks/)󠁿

 [Chinmay Rajyaguru](https://profiles.wordpress.org/inis/) 2022 年 7 月 8 日

Easy to use, and Handy tool

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

### 󠀁[Great plugin with some minor issues](https://wordpress.org/support/topic/great-plugin-with-some-minor-issues/)󠁿

 [Gulshan Kumar](https://profiles.wordpress.org/thegulshankumar/) 2022 年 6 月 29
日

Doesn’t purge Hindi encoded URL permalink

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

### 󠀁[Best (and free) WordPress cache plugin](https://wordpress.org/support/topic/best-and-free-wordpress-cache-plugin/)󠁿

 [wudesign](https://profiles.wordpress.org/wudesign/) 2022 年 1 月 31 日

I have tried almost every cache plugin for WordPress during 10 years, many of them
are very lightweight (which I prefer) such as WP Super Cache, Fastest Cache, Comet
Cache, Cache Enabler… they are all great and work well. (Other cache plugins like
WP Rocket, Swift Performance, W3 Total Cache, Litespeed LS cache, Nitropack are 
too bloated imo.) After some years I learned that actually if you have Nginx servers,
and enable the FastCGI cache… you don’t need to use any “old-fashioned” cache plugins!
Immediately I was addicted to this setup… launch $5 LEMP cloud server and enable
FastCGI cache in my Nginx config, and fantastic performance with no more worrying
about bloated plugins and errors with cache plugins. The problem? How to clear my
Nginx cache? I was deleting the cache folder in my SSH window every time and super
annoying. I discovered the EasyEngine plugin called Nginx Helper, it was fantastic!
However, some of the settings did not require in my situation so I looked more. 
After that I finally found Mr. Till’s Nginx Cache plugin and very lightweight… This
plugin is what I use now, very easy and no bloat. I can use this plugin for all 
LEMP script like WordOps, SlickStack, and Webinoly and everything in my entire server
is free open source software. Great work! And your Redis Cache plugin too, a perfect
match.

 [ 閱讀全部 23 則使用者評論 ](https://wordpress.org/support/plugin/nginx-cache/reviews/)

## 參與者及開發者

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

參與者

 *   [ Till Krüss ](https://profiles.wordpress.org/tillkruess/)

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

[將〈Nginx Cache〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/nginx-cache)

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

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

## 變更記錄

#### 1.0.8

 * Support `NGINX_CACHE_PATH` constant

#### 1.0.7

 * Support newer versions of Nginx in `validate_dirlist()`

#### 1.0.6

 * Fixed rare issue in `validate_dirlist()`

#### 1.0.5

 * Added `nginx_cache_zone_purged` action

#### 1.0.4

 * Improved translatable strings
 * Fixed auto-purge bug
 * Fixed bug when validating directory

#### 1.0.3

 * Create cache directory if it doesn’t exists
 * Re-create cache directory after cache purge
 * Allow post types to be excluded from triggering a cache purge

#### 1.0.2

 * Fixed 4.6 issue with file-system credentials

#### 1.0.1

 * Improved testing of file-system credentials

#### 1.0

 * Initial release

## 中繼資料

 *  版本 **1.0.8**
 *  最後更新 **1 個月前**
 *  啟用安裝數 **10,000+**
 *  WordPress 版本需求 ** 3.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  語言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/nginx-cache/)、[English (US)](https://wordpress.org/plugins/nginx-cache/)、
   [Finnish](https://fi.wordpress.org/plugins/nginx-cache/)、[Italian](https://it.wordpress.org/plugins/nginx-cache/)、
   [Japanese](https://ja.wordpress.org/plugins/nginx-cache/)、[Korean](https://ko.wordpress.org/plugins/nginx-cache/)、
   及 [Russian](https://ru.wordpress.org/plugins/nginx-cache/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/nginx-cache)
 * 標籤:
 * [cache](https://tw.wordpress.org/plugins/tags/cache/)[fastcgi](https://tw.wordpress.org/plugins/tags/fastcgi/)
   [flush](https://tw.wordpress.org/plugins/tags/flush/)[nginx](https://tw.wordpress.org/plugins/tags/nginx/)
   [Purge](https://tw.wordpress.org/plugins/tags/purge/)
 *  [進階檢視](https://tw.wordpress.org/plugins/nginx-cache/advanced/)

## 評分

 4.6 星，滿分為 5 星

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

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

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

## 參與者

 *   [ Till Krüss ](https://profiles.wordpress.org/tillkruess/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

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

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://github.com/sponsors/tillkruss)