這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

VL Cloudflare Cache Purge

外掛說明

This plugin adds a updated_post hook in the post update process and with the help of it, it deletes the cache of the page in cloudflare cache and KV storage(static cache)

安裝方式

To setup this plugin add following constants in the wp-config.php file before activating it.

define('CF_ZONE_ID', '');
define('CF_AUTH_TOKEN', '');
define('CF_KV_AUTH', ''); # http auth username and password if the site is password protected. If not just add \'test:test\'

常見問題集

Who Can You This?

The one who is using CloudFlare for storing Static Key Value pairs of the site and the site cache, can use this plugin

What I need to use this plugin?

You will need three things to run this plugin
* Zone ID – that can be seen on overview page of the site
* Auth Token – That can be created from the profile section that can manage workers
* Auth: username and password that can access the API for CLoudFlare.

使用者評論

2022 年 3 月 1 日
I was working with Cloudflare for Cachce and Static KV site. But I was facing many issues post updating the posts. So I came up with a solution which I just shared here. Please like and support me for such more useful plugins
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈VL Cloudflare Cache Purge〉的開發相關工作。

參與者

將〈VL Cloudflare Cache Purge〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.2

  • Again used wp_Remote_request instead of curl call to fix the timeout error.

1.0.1

  • Fixed the fatal error because of the timeout occur while making API Call for purging the CLoudflare Workers Static KV.
  • Added more error_log statements