

Edge Rules tab: rules with on and off switches, deploy button and results table
Nahnu Cache Connector for Bunny.net connects your WordPress site to Bunny.net CDN. It mirrors every cache purge to Bunny, deploys a complete set of production-ready edge rules for you and keeps them current, makes Bunny Shield WAF safe to run on WordPress, and shows live CDN stats in your admin.
Full documentation: wpbunnyconnector.com.
Hooks into your cache plugin so every purge is mirrored to Bunny CDN. Per-URL purges are used where the cache plugin supports them, instead of wiping the whole zone. Purges triggered during one request (post saves, plugin, theme and core updates, cache plugin clears) are combined into one Bunny API call at the end of the request, after your local cache has finished clearing.
Supported cache plugins (18):
One click deploys a complete set of rules to your Bunny pull zone: HTTPS redirect, HTML caching for visitors, admin and logged-in bypasses, ecommerce, membership, LMS and booking bypasses, long browser caching for assets, query string handling, CORS for fonts, Shield WAF exceptions and security headers. Rules are tracked by GUID, so redeploying never creates duplicates, and rules you created yourself in the Bunny dashboard are left alone.
You do not have to remember to redeploy:
Bunny Shield is a powerful WAF, but WordPress admin screens, the block editor and page builders send requests that WAF rules often flag. This plugin turns Shield off for those areas for your team only, and keeps inspecting everyone else.
Sets the six response headers that securityheaders.com grades on, at the Bunny edge, so they apply to cached pages too: Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, Referrer-Policy and Permissions-Policy.
The defaults are safe for any WordPress site. HSTS is set for one year without includeSubDomains or preload, and the Content-Security-Policy restricts framing and plugins without blocking the inline scripts WordPress and most themes rely on. Developers can replace any value with the wpbc_security_headers filter.
Putting Bunny in front of sites you manage from a dashboard can cause slow syncs, sites reported as disconnected, and long updates that run twice. The plugin fixes this for every major remote management service:
MainWP extras. On the MainWP Dashboard, requests to child sites running this plugin go straight to their origin server, skipping the CDN, its WAF and its 60 second limit. Each origin is checked before use and rechecked weekly, and sites that cannot be reached directly keep using the CDN. The Integrations tab shows each child’s status plus server cron and timeout recommendations.
WP Umbrella extras. Umbrella’s login protection is given Bunny’s edge server list, so it sees each visitor’s real IP instead of a Bunny server, and Bunny is purged whenever Umbrella clears caches.
Nahnu Login Shield is our free login security plugin. It locks out brute-force attackers and can push their IPs to the Bunny.net WAF, so they are blocked at the CDN edge before they ever reach your server. It reuses this plugin’s Bunny connection, so there is nothing extra to set up. Its status and a one-click install are at the top of the Integrations tab.
WordPress 7.1 processes images in the browser using about 13 MB of WebAssembly and JavaScript. Bunny Optimizer is kept off those files, and Shield is turned off for them for your team, so image uploads in the block editor work with Shield and Optimizer active. These rules deploy only on WordPress 7.1 and later.
Bypass rules are built automatically from each plugin’s own page settings. No manual URL entry needed.
Supported ecommerce and donation plugins (6):
Supported membership plugins (13):
Supported LMS plugins (9):
Affiliate and community plugins with bypass rules (2):
Supported booking and event plugins (4):
When WPML, Polylang or TranslatePress is active, bypass rules include translated page URLs automatically, and the pull zone varies its cache by Accept-Language so each visitor gets the right language.
After a full purge, a background job crawls your sitemap to pre-warm the CDN edge. It requests one page at a time, at most two sites warm at once on the same server, and it waits while the server is busy, so warming never competes with real visitors.
Supported SEO plugins for sitemap auto-detection:
Pull zone stats, DNS stats, bandwidth breakdown, cache hit rate, Shield WAF events and cache sync status, all inside WordPress admin.
Deletes stale Perma-Cache files from Bunny Storage right after a full purge, without waiting for them to expire.
wp bunny deploy, wp bunny purge, wp bunny status, wp bunny rules/wp-json/wpbc/v1/: GET /status, POST /purge, POST /purge-url, POST /deploy. Authenticated with a token from Settings or a WordPress admin session.The API tab in the plugin shows every endpoint, filter and action with copy-paste examples.
These plugins were analysed and confirmed fully compatible with no bypass rules required:
For the full compatibility list visit wpbunnyconnector.com.
Other plugins can integrate without any changes to this plugin.
Filters
wpbc_shield_bypass_ips: add trusted IPs or CIDR ranges to the Shield WAF bypass list.wpbc_shield_bypass_urls: turn Shield off for specific URL patterns.wpbc_cache_bypass_urls: add URL patterns to the CDN cache bypass list.wpbc_security_headers: change, add or remove security header values.wpbc_compatible_plugins: list your plugin on the Integrations tab.wpbc_bunny_connection: reuse the Bunny API key, pull zone and Shield zone.wpbc_is_connected, wpbc_status, wpbc_last_purge_time: read connection and purge status.wpbc_watched_post_types: choose which post types purge on save.wpbc_stagger_window, wpbc_server_deploy_slots: tune how bulk updates are spread out.Actions
wpbc_purge_all, wpbc_purge_url: purge the CDN.wpbc_deploy, wpbc_update_rules: redeploy edge rules.wpbc_deploy_bypass_urls: redeploy only the third-party bypass rules, in a few API calls.wpbc_mark_rules_stale: flag rules as out of date so they redeploy in the background.Full developer documentation and examples: wpbunnyconnector.com.
This plugin connects to the Bunny.net API (api.bunny.net) to purge cache, manage edge rules and pull zone settings, and retrieve statistics, and to Bunny Storage when Perma-Cache cleanup is enabled. When WP Umbrella is active, it also downloads Bunny’s public edge server IP list (api.bunny.net/system/edgeserverlist) once a week; no key or site data is sent with that request. On a MainWP Dashboard, it checks whether each child site’s own origin server answers directly; those requests only go to your own sites. An active Bunny.net account and API key are required. No visitor data is sent. See the Bunny.net Privacy Policy and Terms of Service.
This is an independent third-party tool. It is not affiliated with, endorsed by, or sponsored by Bunny.net.
Nahnu Cache Connector for Bunny.net does not collect or send any data about your site’s visitors. No analytics, no tracking, no third-party data sharing.
The plugin talks to the Bunny.net API to purge cache, fetch statistics and manage edge rules. The data sent is limited to your Bunny API key (in request headers), pull zone and Shield zone IDs, your site’s hostnames and the URLs to purge. On sites managed by MainWP, ManageWP, InfiniteWP, WP Umbrella, Modular DS, Watchful or UpdraftCentral, the IP address of the managing dashboard is stored on your site and added to your own Shield trusted IP rule. For UpdraftCentral this can be the IP of the administrator’s browser; it is deleted after 7 days without use. See Bunny.net’s Privacy Policy for how Bunny.net handles this data.
No data is sent to Nahnu Plugins or any third party other than Bunny.net.