[WordPress] 外掛分享: Varnish/Nginx Proxy Caching

首頁外掛目錄 › Varnish/Nginx Proxy Caching
WordPress 外掛 Varnish/Nginx Proxy Caching 的封面圖片
900+
安裝啟用
★★★★★
5/5 分(10 則評價)
2339 天前
最後更新
0%
問題解決
WordPress 4.0+ PHP 5.2.4+ v1.8.3 上架:2015-11-24

內容簡介

這個外掛可以完整整合 WordPress Varnish Cache 3.x/4.x/5.x 和 Nginx Proxy Cache。

這個外掛可以處理所有與 Varnish Cache 和 Nginx Proxy Cache 的整合,針對高流量網站而設計。

主要功能包括:

管理介面,請參閱截圖
手動清除暫存的控制台,支援正規表示式,可以清除整個資料夾或單一檔案
支援各種 Varnish Cache 實作,請參閱截圖
無限數量的 Varnish Cache 伺服器
使用自訂的標頭與 Varnish Cache 溝通,不會與其他快取外掛、Cloudflare 等產生衝突
Varnish Cache 設定產生器
使用清除索引鍵方法,不需要設定 ACL
除錯
積極維護更新

您可以透過 Varnish Caching 管理面板控制以下內容:

啟用/停用快取
Homepage 快取 TTL
所有其他頁面的快取 TTL
支援所有 Varnish Cache 實作的 IP/主機清除快取
覆寫文章/頁面的預設 TTL
基於清除索引鍵的 PURGE
已登入的 cookie
除錯選項
控制精確手動清除快取的控制台

此外掛還在您修改網站時自動清除 Varnish Cache / Nginx Proxy Cache。

當頁面或文章被修改時,Varnish Caching 會傳送 PURGE 請求到 Varnish Cache / Nginx Proxy Cache。這會在編輯、發布、評論或刪除項目時發生,以及在更改佈景主題時發生。
並非所有頁面都會每次都清除快取,這取決於您的 Varnish / Nginx Proxy Cache 設定。當編輯文章、頁面或自訂文章類型,或新增評論時,只有以下頁面會被清除快取:

首頁
已編輯的文章/頁面
任何與頁面相關聯的分類或標籤

Varnish Cache / Nginx Proxy Cache 是一個網頁加速器,也被稱為快取 HTTP 反向代理伺服器。您可以安裝它在任何支援 HTTP 的伺服器之前,並設定它來快取內容。此外掛不會為您安裝 Varnish / Nginx,也不會為 WordPress 配置 Varnish / Nginx。預期您已經使用提供的配置檔進行了這些配置。

受以下兩個項目啟發:

Proxy Cache Purge


https://github.com/dreamhost/varnish-vcl-collection/

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.8.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Varnish/Nginx Proxy Caching」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Complete WordPress Varnish Cache 3.x/4.x/5.x and Nginx Proxy Cache integration.
This plugin handles all integration with Varnish Cache and Nginx Proxy Cache. It was designed for high traffic websites.
Main features

admin interface, see screenshots
console for manual purges, supports regular expressions so you can purge an entire folder or just a single file
supports every type of Varnish Cache implementation, see screenshots for examples
unlimited number of Varnish Cache servers
use of custom headers when communicating with Varnish Cache does not interfere with other caching plugins, cloudflare, etc
Varnish Cache configuration generator
purge key method so you don’t need to setup ACLs
debugging
actively maintained

You can control the following from the Varnish Caching admin panel :

Enable/Disable caching
Homepage cache TTL
Cache TTL (for every other page)
IPs/Hosts to clear cache to support every type of Varnish Cache implementation
Override default TTL in posts/pages
Purge key based PURGE
Logged in cookie
Debugging option
console for precise manual purges

This plugin also auto purges Varnish Cache / Nginx Proxy Cache when your site is modified.
Varnish Caching sends a PURGE request to Varnish Cache / Nginx Proxy Cache when a page or post is modified. This occurs when editing, publishing, commenting or deleting an item, and when changing themes.
Not all pages are purged every time, depending on your Varnish / Nginx Proxy Cache configuration. When a post, page, or custom post type is edited, or a new comment is added, only the following pages will purge:

The front page
The post/page edited
Any categories or tags associated with the page

Varnish Cache / Nginx Proxy Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. This plugin does not install Varnish/Nginx for you, nor does it configure Varnish/Nginx for WordPress. It’s expected you already did that on your own using the provided config files.
Inspired from the following :

Proxy Cache Purge


https://github.com/dreamhost/varnish-vcl-collection/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon