[WordPress] 外掛分享: Purgely

首頁外掛目錄 › Purgely
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
3564 天前
最後更新
問題解決
WordPress 4.2.0+ v1.0.1 上架:2016-01-10

內容簡介

Purgely是一個使用Fastly作為邊緣快取解決方案的WordPress站點緩存行為管理外掛程式。此外掛程式提供有用的API,可協助控制您網站上的頁面如何緩存,並提供合理的預設值以使此成為一個快速且易用的Fastly緩存管理外掛程式。

此外掛程式處理以下項目:

設置Surrogate-Control標頭以控制頁面的過期時間

設置用於管理Fastly特殊行為的stale-while-revalidate和stale-if-error的 Cache-Control 指示

為所有頁面設置組Surrogate-Keys,以提供通過一個命令跨多個頁面刷新的功能

在保存時提供文章和相關文章的無效化

每個項目都有合理的預設值,可用於覆蓋和配置到您喜歡的方式。

此外,此外掛程式提供了一個WP CLI命令,以提供更靈活的刷新選項。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Purgely manages caching behavior for WordPress sites using Fastly as an edge caching solution. The plugin exposes useful
APIs to help control how pages on your site are cached, as well as provides sane defaults to make this a plug and play
solution for Fastly cache management.
The plugin handles the following:

Sets the Surrogate-Control header to control the expiration time for pages
Sets the stale-while-revalidate and stale-if-error Cache-Control directives for managing these special Fastly
behaviors
Set groups of Surrogate-Keys for all pages to provide purging across multiple pages with one command
Provides invalidation of posts and related posts on save

Each of these items have sane defaults with ways to override them and configure them to your liking.
Additionally, the plugin exposes a WP CLI command to provide more flexible purging options.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon