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

Nginx Cache

外掛說明

NGINX Cache 外掛能在 WordPress 網站內容變更時,自動或手動清除 NGINX 快取 (FastCGI、Proxy、uWSGI)。

環境需求:

  • Filesystem API 必須在不要求認證的狀況下執行。
  • NGINX 及 PHP 必須使用同一個使用者執行,或 PHP 使用者具備寫入 NGINX 快取路徑的權限。

螢幕擷圖

  • 外掛設定頁

安裝方式

如需進一步了解相關資訊,請參考 WordPress 外掛標準安裝程序

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

使用者評論

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.
2020 年 8 月 13 日
For those who do not know, it is necessary to enter linux to empty the cache with a command. This plugin, which looks silly, saves a lot of time. Thank you!
2020 年 8 月 12 日
Can't believe my eyes! I have been using SSH to flush my cache manually each time I update anything on my site, tried several plugins, tried to recompile NGINX a bunch of times as well, no success (and unable to afford NGINX Plus) for almost a year! Installed your plugin today, August 12, 2020, on the latest Wordpress 5.5 and it works!!!!!!!! Thank you so very much 🤩
閱讀全部 20 則使用者評論

參與者及開發者

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

參與者

Nginx Cache 外掛目前已有 3 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

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

對開發相關資訊感興趣?

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

變更記錄

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