What's inside

Everything the edge needs to
cache WordPress safely.

Ten production systems working together: edge rules, purge sync, smart bypass, cache warming, Perma-Cache cleanup, live stats, Shield WAF, security headers, remote management and automation. Each one solves a real problem Bunny users run into.

01 / Edge rules

74 rules. One click.
No duplicates.

Bunny's edge behavior lives in pull zone rules, not in your origin server. This plugin writes all 74 of them to your pull zone via API, tracks each by GUID, sends only what changed, and keeps them current on its own.

One-click deploy. Pushes the complete ruleset to your Bunny pull zone via API in one action.
Only changes are sent. Rules are compared with what is live on Bunny and updated in place. A redeploy with nothing new is a single API call, and your site is never without rules.
Keeps itself current. Rules redeploy automatically after a plugin update or when you switch a supported plugin on or off. A manual deploy always takes priority.
Enable or disable per rule. Toggle individual rules in the admin UI before deploying.
Covers everything: SSL, Shield WAF, admin bypass, static caching, CORS, security headers, ecommerce, membership, LMS, booking and remote management.
Edge Rules: 74 rules active Deploy Rules
01 Force SSL: HTTP → HTTPS redirect Active
02 Disable Shield & WAF: WP admin Active
04 Bypass cache: logged-in users Active
12 WooCommerce cart & checkout bypass Active
62 Cache HTML: anonymous visitors Core
64 Static files: long browser cache Active
66 Security headers (HSTS, CSP, X-Frame) Active
74 Trusted IP whitelist: WAF bypass Optional
02 / Purge sync

Your cache plugin purges.
Bunny follows automatically.

Hooks into the purge events fired by your active cache plugin and mirrors them to Bunny's API in real time. Where possible, per-URL purges are used instead of wiping the entire zone, so only stale pages are cleared.

Automatic sync. No manual action needed after publish or plugin update.
Per-URL purge. Supported cache plugins send exact URLs so only changed pages are cleared, not the whole zone.
Manual purge tab. Full zone wipe or wildcard URL purge available directly in WP admin.
Purge log. The last 20 events with timestamp, trigger source, URL, and status.
One API call per request. A post save, plugin update or cache clear that triggers several purges sends Bunny a single combined request, after your local cache has finished clearing.
Purge event flow
Post published WordPress fires transition_post_status
Origin
Cache plugin clears page Fires swcfpc_purge_urls / after_rocket_clean_post
Hook
Bunny API call Purge exact URL, not a full zone wipe
Per-URL
Cache warmer triggered Schedules sitemap crawl for full purges
Cron
03 / Smart bypass

No manual URL entry.
Ever.

The biggest failure mode of edge HTML caching is a cached page that should have been bypassed: a logged-in member seeing someone else's cart, or a checkout page served from cache. This plugin eliminates that by reading bypass rules directly from your active plugins at deploy time.

Auto-detected at deploy time. Checks which plugins are active, then generates only the rules that apply. Switching a supported plugin on or off redeploys automatically.
Page IDs from plugin settings. Reads checkout, cart, and dashboard page IDs directly from each plugin’s own option values.
Cookie-based bypass. Session and cart cookies trigger per-visitor bypass at the Bunny edge layer, not at origin.
Multilingual aware. Bypass rules automatically include translated page URLs when WPML, Polylang, or TranslatePress is active.
Bypass rule categories
Core WordPress Always on
Logged-in users · Admin · WP-cron · REST API · POST requests · Search · XML feeds · wp-admin paths
Ecommerce When detected
Cart · Checkout · Order confirmation · Session cookies · AJAX endpoints, across 6 platforms
Membership & LMS When detected
Member dashboards · Student portals · Registration · Login pages, across 13 membership plugins and 11 LMS & community plugins
Booking & remote management When detected
Booking & RSVP pages across 4 plugins · One-click login and connect links for 7 dashboard services
Static & performance Always on
Long TTL for CSS/JS/images · Query string ignore · CORS headers · Security headers
04 / Cache warmer

Edge cache pre-filled
before visitors arrive.

After a full purge, the edge is cold, so the first visitor to each page has to wait for origin. The cache warmer crawls your sitemap in the background via WP-Cron, so the edge is warm and serving cached HTML before real traffic hits.

Triggered after a full purge. Fires automatically when any supported cache plugin clears everything.
SEO plugin sitemap detection. Finds your sitemap automatically across 8 SEO plugins, including Yoast, Rank Math, AIOSEO, and SEOPress, plus the WordPress core sitemap.
Batch size and delay control. A configurable crawl rate so warming doesn’t hammer your origin server.
Custom sitemap URL. Override auto-detection if your sitemap lives at a non-standard path.
Staggered after bulk updates. When a dashboard updates many sites at once, each site starts warming in its own time slot, so a shared server is not hit by every crawl together.
Cache warmer Running
Crawling sitemap_index.xml 72 / 124 URLs
https://example.com/
https://example.com/about/
https://example.com/blog/
https://example.com/blog/edge-caching/
https://example.com/blog/bunny-cdn-setup/
https://example.com/contact/
https://example.com/pricing/
05 / Perma-Cache cleanup

Stale Perma-Cache files
cleared immediately.

Bunny's Perma-Cache writes edge-cached HTML to a Bunny Storage zone as a permanent backup. Without this plugin, purging the CDN doesn't remove those files, so stale HTML can re-enter the cache from storage. This plugin deletes them right after every full purge.

Fires after every full purge. No manual action, no TTL wait.
Lists and deletes via the Storage API. Enumerates all files in the Perma-Cache path and removes them in bulk.
Configurable via constants. Lock the storage zone name, password, and region in wp-config.php so they never touch the database.
9 storage regions supported: Falkenstein, London, New York, LA, Singapore, Stockholm, São Paulo, Sydney, and Johannesburg.
Perma-Cache cleanup
247
Files found
247
Deleted
1.4s
Duration
/__bunny_perma_cache__/example.com/index.html Deleted
/__bunny_perma_cache__/example.com/blog/index.html Deleted
/__bunny_perma_cache__/example.com/about/index.html Deleted
Cleanup complete, 0 stale files remain Done
06 / Live CDN stats

Your CDN performance,
inside WordPress admin.

Pulls live pull zone analytics from the Bunny API and surfaces them directly in your WordPress dashboard, so there's no need to log into the Bunny panel to check if caching is working.

Cache hit rate. The percentage of requests served from edge versus origin.
Bandwidth breakdown. Total traffic, cached traffic, and origin traffic.
DNS zone stats. Request volume and resolution data when a Bunny DNS zone is configured.
Cache sync status. Shows the last purge time and source so you know the edge is current.
Shield WAF events. Blocked IPs, triggered rules and URLs for the last 1, 6, 24 or 72 hours, when Bunny Shield is enabled.
Pull zone analytics, last 30 days
94.3%
Cache hit rate
18.4 GB
Bandwidth served
1.2M
Total requests
73k
Origin requests
Daily requests, last 14 days
07 / Shield WAF

Shield on for visitors.
Out of your team's way.

Bunny Shield's WAF inspects all inbound traffic for threats, but WordPress admin screens, page builders, SaaS callbacks and management dashboards often look suspicious to it. This plugin lets the right people and servers through and keeps inspecting everyone else.

Secret role cookie. Your chosen roles (Administrator and Editor by default) get a cookie holding a per-site secret, so the bypass cannot be forged. Rotate it from Settings at any time.
Admin, editor and builders covered. wp-admin, the block editor and REST API, the Bricks code editor and WordPress 7.1 media processing all work with Shield on.
Trusted IPs and CIDR ranges. One per line in Settings for payment gateways, office networks and staging servers, batched automatically to fit Bunny’s limits.
Dashboard IPs added for you. MainWP, ManageWP and other management dashboards are trusted automatically after their first verified request.
Works with Nahnu Login Shield. Our free login security plugin pushes brute-force attackers to the Bunny WAF, so they are blocked at the edge.
Inbound request handling
203.0.113.45 (Payment gateway) Matches trusted IP whitelist
WAF bypass
10.0.0.0/8 (Office network) CIDR range match
WAF bypass
Admin logged in (Editor role) Secret role cookie verified
WAF bypass
198.51.100.9 (ManageWP dashboard) Learned from a verified request
WAF bypass
Unknown visitor No match. Shield inspects normally
Inspected
07 / Shield WAF

Shield on for visitors.
Out of your team's way.

Bunny Shield's WAF inspects all inbound traffic for threats, but WordPress admin screens, page builders, SaaS callbacks and management dashboards often look suspicious to it. This plugin lets the right people and servers through and keeps inspecting everyone else.

Secret role cookie. Your chosen roles (Administrator and Editor by default) get a cookie holding a per-site secret, so the bypass cannot be forged. Rotate it from Settings at any time.
Admin, editor and builders covered. wp-admin, the block editor and REST API, the Bricks code editor and WordPress 7.1 media processing all work with Shield on.
Trusted IPs and CIDR ranges. One per line in Settings for payment gateways, office networks and staging servers, batched automatically to fit Bunny’s limits.
Dashboard IPs added for you. MainWP, ManageWP and other management dashboards are trusted automatically after their first verified request.
Works with Nahnu Login Shield. Our free login security plugin pushes brute-force attackers to the Bunny WAF, so they are blocked at the edge.
Inbound request handling
203.0.113.45 (Payment gateway) Matches trusted IP whitelist
WAF bypass
10.0.0.0/8 (Office network) CIDR range match
WAF bypass
Admin logged in (Editor role) Secret role cookie verified
WAF bypass
198.51.100.9 (ManageWP dashboard) Learned from a verified request
WAF bypass
Unknown visitor No match. Shield inspects normally
Inspected
09 / Remote management

Manage every site
from one dashboard.

Bunny sits between your dashboard and your sites. Without help, that means WAF challenges, 60-second timeouts and updates that run twice. This plugin handles all of it for 7 management services, on the dashboard and on every site it manages.

Dashboard IPs trusted automatically. Learned only from requests the service itself has verified, and removed when the dashboard stops using them.
No timeouts, no repeats. The pull zone waits the full 60 seconds for your server and never resends a slow request.
Calm bulk updates. Push an update to 100 sites and each one redeploys in its own slot of up to 5 minutes, with at most two sites per server at once.
Nothing private cached. One-click login and connect links always bypass the CDN cache.
MainWP direct-to-origin. The MainWP Dashboard talks to child sites’ origin servers directly, skipping the CDN entirely.
Bulk update: 120 sites, one server
Dashboard requestVerified by the service, IP trusted in Shield
No challenge
Plugin update, 75 secondsOrigin timeout 60 s, never resent
Runs once
Edge rule redeploysEach site in its own slot, max 2 at once
0-5 min
Rules unchangedCompared with Bunny, nothing to send
1 API call
MainWP Dashboard → childStraight to the origin server
CDN skipped
MainWP · ManageWP · InfiniteWP · WP Umbrella · Modular DS · Watchful · UpdraftCentral
10 / Automation

WP-CLI, REST API
and PHP hooks.

Script purges and deploys across all your sites, trigger them from a deploy pipeline, or let other plugins use the Bunny connection without storing a second API key.

WP-CLI. wp bunny deploy, wp bunny purge, wp bunny status and wp bunny rules.
REST API. Status, purge, purge-url and deploy endpoints under /wp-json/wpbc/v1/, authenticated with a token from Settings.
PHP filters and actions. Add trusted IPs, bypass URLs and security headers, or purge and deploy from your own code.
Documented in the plugin. The API tab shows every endpoint, filter and action with copy-paste examples.
Terminal
$ wp bunny purge
Purging Bunny CDN cache...
Success: Cache purged successfully.
$ wp bunny deploy
Deploying edge rules to pull zone 123456 (TTL: 604800s, Force cache: no)...
Success: All edge rules deployed successfully.
$ curl -X POST https://example.com/wp-json/wpbc/v1/purge \
  -H "X-WPBC-Token: <token>"
{"success":true,"message":"Cache purged successfully.", ...}
wpbc_shield_bypass_ipswpbc_cache_bypass_urlswpbc_security_headerswpbc_bunny_connectionwpbc_purge_allwpbc_deploy
Compatibility

Two known conflict cases.

This plugin is compatible with every major WordPress plugin tested: security, consent, membership, cache, and more. Two edge cases are worth knowing about before you install.

Cache plugins with their own CDN layer
Some cache plugins bundle their own cloud CDN. Running that CDN alongside Bunny as a proxy creates a double-CDN conflict where both layers attempt to cache the same HTML. If the plugin's CDN component can be disabled independently, there is no conflict, only the optimization features are affected.
Cache plugins with a built-in Bunny integration
A small number of cache plugins include their own native Bunny pull zone integration. If that integration is active alongside this plugin, both will attempt to manage the same pull zone; purging, rule deployment, and settings may conflict. Use one or the other, not both.

One plugin. Everything Bunny
needs to cache WordPress.

Free on WordPress.org. No Nahnu account required. Install it, connect your API key, deploy the rules, and you're done.

Free forever • GPL-2.0+ • WordPress.org • Tested with WordPress 7.1

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only