[WordPress] 外掛分享: Nginx Cache Purge Preload

WordPress 外掛 Nginx Cache Purge Preload 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Nginx Cache Purge Preload」是 2024-06-08 上架。
  • 目前有 60 個安裝啟用數。
  • 上一次更新是 2025-03-17,距離現在已有 48 天。
  • 外掛最低要求 WordPress 6.3 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 2 人給過評分。
  • 論壇上目前有 3 個提問,問題解答率 0%

外掛協作開發者

psauxit |

外掛標籤

cache | nginx | Purge | preload | performance |

內容簡介

總結:


這個外掛讓 WordPress 使用者可以直接從管理員儀表板中管理 FastCGI快取清除和預取的 Nginx 操作,提升網站效能和快取效率。

問答:




  • 這個外掛是如何運作的?


    當 Nginx 伺服器正確配置時,不一定需要獨立的 PHP-FPM-USER 和 WEBSERVER-USER,但在某些情況下,分開這些使用者可以增強安全性和效能。




  • 這個外掛解決了什麼問題?


    解決了快取清除和預取在涉及兩個不同使用者 WEBSERVER-USER 和 PHP-FPM-USER 的 Nginx 環境中自動化的挑戰,提供了替代的簡單方法。




  • 這個外掛的特點有哪些?




    • 清除所有 Nginx的 FastCGI 快取。

    • 預取所有 Nginx的 FastCGI 快取。

    • 自動預取 Nginx的 FastCGI 快取。

    • 透過 WP Cron 安排清除和預取 Nginx的 FastCGI 快取。

    • 通過 REST API 遠程清除和預取 Nginx的 FastCGI 快取。

    • 優化 Nginx FastCGI 快取的預取效能,包括限制 CPU 使用、排除端點和速率限制選項。

    • 在進階選項卡上手動清除和預取 Nginx FastCGI 快取。

    • 在狀態選項卡上控制外掛功能、快取狀態和 Nginx 配置。

    • 支持在頁面上執行動作:手動清除與預取在訪問的頁面上 Nginx 的 FastCGI 快取。

    • 使用友善的 AJAX 強化的簡易外掛設定介面,集成到 WordPress 管理員介面條上以便快速訪問。

    • 便捷的 WordPress 管理員通知和日誌,顯示外掛狀態和所有操作。

    • 電子郵件通知,對完成的預取操作提供可用的模板警報。




原文外掛簡介

This plugin, NPP, allows WordPress users to manage Nginx Cache Purge and Preload (FastCGI, Proxy, SCGI, UWSGI) operations directly from the WordPress admin dashboard, enhancing website performance and caching efficiency.
Unlike other solutions that depend on Nginx modules, NPP directly manages cache files without needing to interact with Nginx.
➡️ This approach provides the following benefits:
⚡ Faster – No waiting for Nginx to process cache purges; works without interacting with Nginx.
🌐 Greater flexibility – Works seamlessly across different architectures, including containerized environments where Nginx may run on a host, in a separate container, or distributed across systems.
🤖 Automations – NPP is flexible for server-side automations, making it easy to integrate into your workflow.
⚠️ IMPORTANT:
NPP is feature rich, completely free & functional and great for users who manage their own servers and have technical know-how. For those with less technical experience, pre-made Bash scripts are available, making it easy to get started and benefit from the plugin.
➡️ For detailed integration steps and guidance:
• Visit the NPP Main Development Repository
• Explore NPP Containerized for easy production deployments and testing NPP locally.
• Refer to the FAQ or the plugin’s Help tab for further instructions.
Features
🧹 Purge All Nginx Cache: Completely clear all cached data stored by Nginx.
🔄 Preload All Nginx Cache: Warm the Nginx cache with the most recent data for the entire website.
🚀 Auto Preload Nginx Cache: Automatically preloads the cache when Auto Purge is enabled for a POST/PAGE or after the Purge All action.
🧼 Auto Purge Nginx Cache: Purge cache on Post/Page content changes, comment status updates, theme/plugin updates, or when compatible Cache Plugins trigger a purge. Nginx cache is preloaded automatically if Auto Preload is enabled (for the entire site or individual page).
⏰ Schedule Nginx Cache Purge & Preload via WP Cron: Automate the purge and preload process using WordPress Cron jobs.
🌐 Remote Nginx Cache Purge & Preload via REST API: Remotely trigger cache purging and preloading through REST API endpoints.
⚙️ Manual Nginx Cache Purge & Preload: Allow manual purging and preloading of cache through the table view in the Advanced Tab.
🔍 On-Page Nginx Cache Purge & Preload: Manually purge and preload Nginx cache for the currently visited page directly from the frontend.
🗝️ Custom Cache Key Support: Define a regex pattern to parse URLs based on your custom _cache_key format.
⚡ Optimized Nginx Cache Preload: Enhance Nginx cache preload performance with options to limit CPU usage, exclude endpoints, wait retrievals, and apply rate limiting.
📊 Monitor Plugin and Nginx Cache Status: Monitor plugin status, cache status, and Nginx status from the Status tab.
🖥️ User-Friendly Interface: Easy-to-use AJAX-powered settings, integrated into the WordPress admin bar and dashboard for quick access.
📋 Admin Notices and Logs: Receive notifications and view logs for plugin status and all cache-related actions within the WordPress admin area.
📧 Email Notifications: Receive email alerts upon completion of preload actions, with customizable templates to suit your needs.
Credits
This plugin is developed and maintained by Hasan CALISIR.
Support
For support and assistance, please contact Hasan CALISIR at [email protected].
License
This plugin is licensed under the GPLv2 or later.For more information, visit the plugin development page: Nginx Cache Purge Preload

各版本下載點

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

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


2.0.1 | 2.0.2 | 2.0.3 | 2.0.4 | 2.0.5 | 2.0.6 | 2.0.7 | 2.0.8 | 2.0.9 | 2.1.0 | 2.1.1 | trunk |

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

  • Speed Optimizer – The All-In-One Performance-Boosting Plugin 》SiteGround Optimizer 插件是由 SiteGround 開發的,可以大幅提高任何托管環境下的 WordPress 網站性能。, 最初設計用於 SiteGround 的服務器,現在已經有近 ...。
  • Nginx Helper 》, 使用 nginx 時,從永久連結中刪除 index.php。, 在使用nginx-srcache-module創建的完整頁面快取時,添加可清除 redis-cache 的支援。, 從模組中添加對 ngin...。
  • Proxy Cache Purge 》此外掛不會安裝或配置快取代理,而只是與這些服務進行介面交互。, 網站常見的內容快取方式是通過反向代理快取。常見的例子是 Varnish 和 Nginx。這些系統允許...。
  • Nginx Cache 》當內容更改時自動清除 Nginx 緩存 (FastCGI、Proxy、uWSGI),或在 WordPress 內手動清除。, 要求:, , Filesystem API 需要在不要求憑證的情況下運作。, Ngin...。
  • LWSCache 》這個外掛是由 LWS 開發的,可以幫助您在編輯頁面、文章、信息時自動管理您的 LWSCache 清除。, 它提供了一種清除所有 LWSCache 的方法。, 這個外掛僅適用於使...。
  • TNC Toolbox: Web Performance 》- 外掛名稱:NGINX-on-cPanel Enhancements, - 功能介紹:增強使用 NGINX-on-cPanel 時的 WordPress 體驗, - 使用對象:在 cPanel 上安裝了 NGINX 並運行 Wor...。
  • WP-FFPC 》警告: WP-FFPC 的開發已被暫停。, 如果您需要新功能,請將代碼和拉取請求發送到WP FFPC @ Github。, 簡短原因:我在2010年開發了這個插件來支持自己的網站。...。
  • Varnish/Nginx Proxy Caching 》這個外掛可以完整整合 WordPress Varnish Cache 3.x/4.x/5.x 和 Nginx Proxy Cache。, 這個外掛可以處理所有與 Varnish Cache 和 Nginx Proxy Cache 的整合,...。
  • Nginx Cache Controller 》此外掛提供控制 Nginx 代理伺服器快取的功能。, 安全性, , 將留言作者的資訊設定為 ajax,以防止資訊快取。, 對於需要密碼保護的文章,加入 no-cache 標頭來...。
  • Hestia Nginx Cache 》重要提示:Hestia 1.6.12 版修正了清除快取後網站可能會無法使用且導致 502 錯誤的問題。如果您尚未使用這個版本,請盡快升級!, WordPress 外掛 Hestia 自動...。
  • AJAX Hits Counter + Popular Posts Widget 》本外掛使用外部 AJAX 計數器腳本來記錄文章的瀏覽次數,是最適合快取整個頁面或使用其他快取外掛的解決方案。, 此外,外掛還包含了「熱門文章」小工具,可根...。
  • Cache Purge Helper 》這個外掛會在流行的 WordPress 外掛或佈景主題觸發特定的鉤子時,使用 LSCache 或 Nginx Helper 外掛清除快取。, , 如果使用 LSCache 外掛,需要 Litespeed E...。
  • PageSpeed Module 》此外掛稱為「PageSpeed Module」,可供Apache或Nginx模組使用。使用此外掛,您可以清除由Apache或Nginx模組建立的Cache,並啟用WordPress網站的開發模式,以...。
  • Cleavr Clear Cache 》管理您的 Cleavr 站點的 NGINX FastCGI 快取,只需添加清除快取觸發器鉤子,然後您就可以點擊按鈕來清除您的站點快取,並選擇性地在每次內容更改時清除快取。...。
  • Blizhost CloudCache Purge – Speed, Security, and Optimization 》Blizhost CloudCache Purge 在您網站內容被修改時向 Blizhost 伺服器發送請求來清除快取。這在發布、編輯、評論或刪除頁面或文章以及更改佈景主題時會發生。,...。

文章
Filter
Apply Filters
Mastodon