[WordPress] 外掛分享: Stellate

首頁外掛目錄 › Stellate
WordPress 外掛 Stellate 的封面圖片
90+
安裝啟用
★★★★★
5/5 分(1 則評價)
740 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.1+ v0.1.8 上架:2022-07-06

內容簡介

WordPress 的 Stellate 外掛程式

這個外掛程式是受歡迎的 WPGraphQL 外掛程式的附屬程式。它能夠協助在 WordPress GraphQL API 前端架設 Stellate,並且在 WordPress 的內容被更新後自動處理快取失效的問題,不論是從 WordPress 管理面板、GraphQL 變更、REST API 等來源。此外,它也支援在 GraphQL API 中使用自訂文章類型和自訂分類。

安裝此外掛程式前需先安裝 WPGraphQL 外掛程式。安裝完成後,您會在儀表板側邊欄的「GraphQL」區段中看到一個名為「Caching」的新選單,您可以在此處:

輸入您的 Stellate 服務名稱和快取驗證令牌(若缺少令牌,這個外掛程式就無法有效運作)。
切換軟性和強制刷新模式(軟性刷新模式指在快取失效的情況下,快取仍然會暫時提供舊資料,直到新資料被重新驗證為止)。
在 WordPress 儀表板中直接清空整個 Stellate 快取。

如需更多資訊,請參閱 說明文件。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1.8) 或搜尋安裝

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

原文外掛簡介

Stellate plugin for WordPress
This plugin is an addon for the popular WPGraphQL plugin. It helps set up Stellate in front of a WordPress GraphQL API by automatically invalidating the cache when content is updated in WordPress. It works no matter the source of the update, whether that is via the WordPress admin panel, a GraphQL mutation, the REST API, or another method. It also supports custom post types and custom taxonomies that are exposed over the GraphQL API.
This plugin only works when you already have the WPGraphQL plugin installed. After adding this plugin, you’ll see a new menu item named “Caching” in the “GraphQL” section of the dashboard sidebar. Here you can:

Add the name of your Stellate service and a purging token (without that, the plugin will do nothing).
Toggle between soft and hard purging. (Soft purging means the cache will continue serving stale data even after the purge while Stellate updates the data in the background.)
Purge the entire Stellate cache right from the WordPress dashboard.

For more information, check out our documentation.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon