跳到内容

Sunny

v2.5.0

Tang Rufus · 2014年7月16日 上架

Automatically purge Cloudflare cache, including cache everything rules.

正在使用
100+
评分
4.2 / 5
累计下载
3.2 万
最近更新
2018年1月8日
23 条评价需要 WordPress 4.7+已测试到 4.9.36PHP 7.0.0+

截图

Cloudflare Settings
Cloudflare Settings
Admin Bar Settings
Admin Bar Settings
Purge when Post Updated
Purge when Post Updated
Debuggers - Cache Status for a Given URL
Debuggers - Cache Status for a Given URL
Debuggers - Related URLs for a Given Post
Debuggers - Related URLs for a Given Post
Debuggers - Additional URLs for Every Purge
Debuggers - Additional URLs for Every Purge
Annoying Sunny v1 deprecated notice
Annoying Sunny v1 deprecated notice

Automatically purge Cloudflare cache, including cache everything rules.

Warning!!!

This plugin is not for normal users! Read the whole readme and FAQ before installing.

Cloudflare cache everything rules breaks most WordPress dynamic functionalities:

Sunny shows a few admin notices in WP admin dashboard promoting the author’s web development services every 2 weeks.They are dismissible via the X button on the right corner. See faq for more info.This is a free plugin, free as in free of charge and in freedom. You can always remove those notices without breaking other parts of Sunny.

The next major release of Sunny(v3.0.0) will require:

  • PHP 7.1
  • WordPress 4.9
  • Properly working WP Cron

Features

  • Automatically purge Cloudflare cache everything rules’ caches
  • Use the latest Cloudflare API v4
  • Support custom post type
  • Hide admin bar from public-facing pages
  • WP REST API support
  • Extendable Laravel-like container

Debuggers

Go Sunny –> Debuggers, it shows:

  • All related urls to be purged for a given post
  • Show targeted urls which always be purged
  • Cache Status of a given URL

How does Sunny different from Cloudflare’s official plugin?

At the time of writing, Cloudflare’s official plugin doesn’t purge cache everything rules’ caches. Here comes Sunny! Sunny focus on purging caches when needed.

Compatibility

Things You Need to Know

  • You need PHP 7.0 or later
  • You need WordPress 4.7 or later
  • You need a Cloudflare account (free plan is okay)
  • This plugin was not built by Cloudflare, Inc

If you like the plugin, feel free to rate it or donate. Thanks a lot! 🙂

Support

To save time so that we can spend it on development, please read the plugin’s FAQ first. Before requesting support, and ensure that you have updated Sunny and WordPress to the latest released version and installed PHP 7 or later.

You can get support via GitHub issues(preferred) and WordPress support forum.

If you don’t provide these information, your support ticket will be ignored:

  • PHP version number (if you say latest, your ticket will be closed without replies)
  • WordPress version number
  • Sunny version number
  • What is the current behavior
  • What is the expected or desired behavior
  • Step to reproduce current behavior
  • Does it behave the same when Sunny is disabled
  • Does it behave the same when only Sunny is enabled
  • What have you tried to resolve the issue

For Developers

Sunny is open source and hosted on GitHub. Feel free to make pull requests.

You can also tweak Sunny to work for you by extending its Laravel-like container.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums