plugin-icon

Webreact integration for SpinupWP and Cloudflare

作者:webreact·
Integrates SpinupWP with Cloudflare for automatic cache purging using API tokens or API keys.
版本
1.1.0
活跃安装
100
最后更新
Dec 30, 2025
Webreact integration for SpinupWP and Cloudflare

This plugin connects your SpinupWP-managed sites to Cloudflare, automatically purging cache when you purge sites, posts, or URLs in SpinupWP. It supports both modern API tokens and legacy API keys for flexible authentication.

Features:

  • Automatic cache purging on SpinupWP site purges
  • Purge specific URLs from Cloudflare cache
  • Manual purge button in WordPress admin bar
  • Support for Cloudflare API tokens (recommended) and legacy API keys
  • Clean, intuitive settings interface
  • Full nonce verification for security
  • PSR-12 compliant code with strict typing

Configuration

Authentication Type:API Token (Recommended): Modern, scoped authentication method. More secure with granular permissions. – Only requires your API token and Zone ID – API Key (Legacy): Original authentication method – Requires email, Zone ID, and global API key

Finding Your Cloudflare Zone ID: 1. Log in to Cloudflare 2. Select your domain 3. In the right sidebar, copy the Zone ID

Creating an API Token: 1. Go to Cloudflare Profile > API Tokens 2. Create Token with “Cache Purge” permissions 3. Copy the token and paste into plugin settings

Using API Key (Legacy): 1. Go to Cloudflare Profile > API Tokens 2. Find Global API Key (or create one) 3. Copy your email and API key to plugin settings

Security

This plugin stores Cloudflare credentials in the WordPress options table. Ensure your WordPress installation is properly secured: – Use strong admin passwords – Keep WordPress and plugins updated – Consider using a Web Application Firewall

All API requests use HTTPS and verify SSL certificates. All output is properly escaped and all nonces are verified.

Support

For issues or feature requests, please visit the plugin repository or contact Webreact.

License

GPLv2 or later

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.9
这个插件是可用的下载,适用于您的站点。