[WordPress] 外掛分享: Nginx Cache Controller

WordPress 外掛 Nginx Cache Controller 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Nginx Cache Controller」是 2011-10-18 上架。
  • 目前有 1000 個安裝啟用數。
  • 上一次更新是 2022-11-22,距離現在已有 894 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.4 以上版本才可以安裝。
  • 有 15 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

miyauchi | wokamoto | emaildano | amimotoami |

外掛標籤

cache | nginx | reverse proxy |

內容簡介

此外掛提供控制 Nginx 代理伺服器快取的功能。

安全性

將留言作者的資訊設定為 ajax,以防止資訊快取。
對於需要密碼保護的文章,加入 no-cache 標頭來防止文章被快取。
當預約發佈的文章發佈完成時,將透過 Ajax 刪除快取。

控制快取

透過發送 X-ACCEL-EXPIRES,您可以指定快取的有效期限。
當您儲存文章並有人發表評論時,快取會自動刪除。
在管理員工具列中新增一個選單,以刪除快取。

備忘錄

透過 HTTP_X_FORWARDED_FOR 標頭取得留言者的 IP 位址。
修正永久連結設定包含 index.php 的問題。
若快取的過期時間超過 86400 秒,會將 wp_verify_nonce() 的值更改為相同的時間。

WP-CLI 支援

刷新所有代理快取。
wp nginx flush

顯示所有代理快取清單。
wp nginx list –format=csv

wp nginx list --format=json

查看說明文件。
wp help nginx

語言支援

英語(en) – JOTAKI Taisuke
日語(ja) – JOTAKI Taisuke
越南語(vi) – Trong

貢獻者

Ninjax Team
miyauchi
wokamoto
gatespace

鳴謝

使用此外掛,WordPress 使用者可以自由且免費地使用此外掛,無論任何目的都可以使用,但並不保證此外掛之運作。

聯絡方式

https://github.com/miya0001/nginx-champuru

原文外掛簡介

This plugin provides some functions of controlling Nginx proxy server cache.
Security

Making comment authors’ information ajaxed to prevent the information from caching.
Send no-cache header on password protected posts to prevent the posts from caching.
When a scheduled post is published, it will delete the cache through Ajax.

Controlling cache

Sending X-ACCEL-EXPIRES, you can specify the available period of the cache.
When you save your post and someone post comments, the cache is deleted automatically.
Add a menu on the admin bar to delete the cache.

Memo

Gets comment poster’s IP address by HTTP_X_FORWARDED_FOR header.
Fixes the issue that the permanent link setting includes index.php.
When the cache’s expiration period is more than 86400 sec, change the value of wp_verify_nonce() same as the period.

WP-CLI Support
Flush all proxy caches.
wp nginx flush
Show list of all proxy caches.
wp nginx list –format=csv
wp nginx list --format=json

See help.
wp help nginx
Languages

English(en) – JOTAKI Taisuke
Japanese(Ja) – JOTAKI Taisuke
Vietnamese(vi) – Trong

Contributor

Ninjax Team
miyauchi
wokamoto
gatespace

Credits
This plug-in is not guaranteed though the user of WordPress can freely use this plug-in free of charge regardless of the purpose.
The author must acknowledge the thing that the operation guarantee and the support in this plug-in use are not done at all beforehand.
Contact

https://github.com/miya0001/nginx-champuru

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Nginx Cache Controller」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.2.0 | 0.4.0 | 1.1.0 | 1.1.1 | 1.1.2 | 1.1.3 | 1.1.4 | 1.1.5 | 1.2.1 | 1.2.2 | 1.3.0 | 1.4.2 | 1.5.0 | 1.6.0 | 1.6.1 | 1.7.0 | 1.8.0 | 1.9.0 | 2.0.0 | 2.1.0 | 2.2.0 | 2.2.1 | 2.3.0 | 2.4.0 | 2.5.0 | 2.6.0 | 2.7.0 | 2.8.0 | 2.9.0 | 3.0.0 | 3.1.0 | 3.1.1 | 3.2.0 | 3.3.0 | 3.3.1 | 3.3.2 | 3.3.3 | 3.3.4 | trunk |

延伸相關外掛(你可能也想知道)

  • Boost site performance with Reverse Proxy 》一款結合多種功能於一身的外掛:網站快取、網址重寫、負載平衡、NFT 登入、DDoS 防禦及 IP 限制, 透過 Reverse Proxy 可改善網站效能,同時保護網站免受網絡...。

文章
Filter
Apply Filters
Mastodon