Home WP Plugins Standard Post

Standard Post

Tencent EdgeOne Cache Purge WordPress Plugin (Free Available) - Auto Refresh + Manual Control Tutorial

I recently changed my website server and started using Tencent's EdgeOne service. Since I had to manually clear the cache in the EdgeOne backend every time I updated an article, I thought about writing a plugin to automatically refresh the cache. Thus, this Tencent EdgeOne cache clearing WordPress plugin was born. Tencent EdgeOne Cache...

Updated on April 8, 2026 About 3 minutes reading
腾讯EdgeOne缓存清理WordPress插件(免费可用)- 自动刷新+手动控制教程

Recently, I changed the website server and started using Tencent's EdgeOne service. Because I had to manually clear the cache in the EdgeOne Admin Dashboard after each Post update, I wondered if I could write a Plugin to achieve automatic refresh. Thus, this Tencent EdgeOne Cache Purge WordPress Plugin was born.

Introduction to Tencent EdgeOne Cache Purge WordPress Plugin

A WordPress plugin that automatically refreshes Tencent Cloud EdgeOne cache after a Post is published, updated, or deleted.

Features

  • Automatic cache refresh: Automatically refreshes when Posts are published, updated, or deleted
  • Supports multiple Post types: Post, Page, Custom Post Type
  • Smart refresh: Automatically refreshes the Post page, homepage, Category page, Tag page, author page, and date archive page
  • Comment integration: Automatically refreshes the cache of related Posts when new comments are approved
  • Manual refresh: Supports manually refreshing specific Posts or the entire site
  • Refresh method selectable: Supports deleting cache (delete) or marking as expired (invalidate)
  • Logging: Optionally logs refresh operation records
  • No SDK required: Supports directly calling the API without installing the Tencent Cloud SDK

Introduction to Tencent EdgeOne

Edge Security Acceleration Platform EO (TencentCloud EdgeOne) is based on Tencent Cloud's global edge nodes, providing integrated edge services such as DNS resolution, dynamic/static intelligent acceleration, TCP/UDP layer-4 acceleration, DDoS/CC/Web/Bot protection, Pages, and edge function computing. It helps customers respond to user requests faster, more securely, and more flexibly.

Usage Tutorial

1. Apply for and use the EdgeOne service

As of the publication of this article, EdgeOne still has a free tier available to claim.

EdgeOne免费套餐申请

International version claim addressSpeed test sharing, unlock more EdgeOne free tier

Domestic version claim addressEdge Security Acceleration Platform Special Offer_EdgeOne Promotional Activities - Tencent Cloud

腾讯云EdgeOne免费套餐

After successful claim, go to bind the domain you want to connect. It supports both CNAME and NS connection methods, which is relatively simple.

EdgeOne接入方式

Among them, the Global Availability Zone can only be selected after ICP filing and real-name verification. Websites without ICP filing only support selecting the Global Availability Zone (excluding Mainland China).

2. Install the EdgeOne Cache Purge Plugin

  1. Download the plugin zip package
  2. Log in to the WordPress Admin Dashboard
  3. Go to 「Plugins」 → 「Add New」 → 「Upload Plugin」
  4. Select the plugin zip file and upload
  5. Activate the plugin

PS: The plugin has passed WordPress official review and can be installed directly by searching for „Cache Purger for EdgeOne“ in the WP Admin Dashboard plugins section.

3. Configure the EdgeOne Cache Purge Plugin

Admin Dashboard MenuSettingsBelow, you can findEdgeOne Cache Purgersettings entry.

EdgeOne 缓存清理设置界面

First, go to the Tencent Cloud console to apply forSecret IDSecret Key. You can directly fill them in here, or define them in the wp-config.php file.

Then fill in theZone ID, check theEnable Auto Purgeoption, save the settings, and the configuration is complete.

手动清理EdgeOne缓存

In the manual purge interface, you can purge by Post ID or by URL.

EdgeOne缓存清理日志

After purging, you can view the records in the purge log.

Explanation about cache plugin integration

Currently, the plugin integrates automatic purge functionality for four caching plugins: WP Super Cache, W3 Total Cache, WP Rocket, and LiteSpeed Cache. When you purge the cache in your caching plugin, the EdgeOne plugin will automatically purge the CDN cache.

However, Naiba's own website usesNginx Fast_cgi cache. I have only tested with W3 Total Cache with a friend. If your caching plugin's purge does not automatically clear the CDN cache, please manually purge once in the EdgeOne cache plugin.

Rate this article post
Previous SiteGround Website Builder Complete Usage Tutorial (Full Process from Activation to Publishing) Continue reading content around the same timeline. Next CSS Hero Tutorial: Modify WordPress Styles Without Code, Even Beginners Can Do It View the next related tutorial or experience.

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: