
內容簡介
此外掛提供控制 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
