Opens in a new tab
Edge Rules

74 rules. One click.
No guesswork.

Bunny doesn't cache HTML automatically, it needs pull zone rules to know what to cache, what to bypass, and how to handle every WordPress request safely. This plugin writes all of them.

74
Total rules
9
Categories
40+
Bypass rules
1
Click to deploy
How Bunny edge rules work

A condition and
an action. That's it.

Every Bunny edge rule is built from the same two parts: a trigger condition that matches something about the request, and an action that runs when it matches. The power comes from having the right 74 rules, in the right order, covering every WordPress scenario.

✓
Runs at the edge: rules execute inside Bunny's network before a request reaches your origin server
✓
Multiple conditions: URL patterns, cookie names, request headers, remote IP, or response status can all be used as triggers
✓
Chainable actions: a single rule can bypass cache and disable WAF and add a header in one operation
✓
Deployed via API: this plugin writes all 74 rules to your pull zone through Bunny's API, tracked by GUID, and only sends what changed
Anatomy of a Bunny edge rule
IF
Trigger condition
What the rule matches on, URL path, cookie, header, IP address, or response code. Multiple conditions can be joined with AND / OR logic.
THEN
Primary action
What happens when the condition matches, cache the response, bypass cache, redirect, override TTL, add or remove headers, disable WAF, or force SSL.
ALSO
Extra actions (optional)
Additional actions on the same match. One rule can bypass cache and disable WAF simultaneously, no need for two separate rules.
// Rule 02: WP admin, Shield off for your team only IF URL path matches /wp-admin/* AND Cookie wpbc_role = your site's secret THEN Disable Shield → true ALSO Disable WAF → true
Complete ruleset

Every rule, every category.

Click any category to expand. Numbers match the Edge Rules tab in the plugin. Every bypass runs before the HTML cache rule (62), and rules for plugins you don't use are never deployed.

Nahnu Cache Connector: edge ruleset 74 rules across 9 categories
Core WordPress 11 rules Always on
01
Force SSLHTTP → HTTPS redirect at the edge
Core
02
Disable Shield & WAF: WP admin/wp-admin/* with the secret role cookie, only for roles you choose
Shield
03
Disable Shield & WAF: REST, builders, media/wp-json/*, the Bricks editor, WordPress 7.1 media processing and this plugin's admin files, with the secret role cookie
Shield
04
Bypass: logged-in usersCookies: wordpress_logged_in_*, comment_author_*, wp-postpass_*
Bypass
05
Bypass: WP admin & PHP/wp-admin/* and any *.php request
Bypass
06
Bypass Perma-Cache: adminAdmin responses are never stored in Perma-Cache
Bypass
07
Disable Optimizer: admin & loginAlso this plugin's admin files and the WordPress 7.1 media modules
Optimizer
08
Bypass: wp-cron.phpCron always reaches origin
Bypass
09
Bypass: REST API/wp-json/* is dynamic and never cached
Bypass
10
Bypass: POST requestsForms, AJAX and remote management commands
Bypass
11
Bypass: RSS/Atom feedsFeeds always served fresh
Bypass
Ecommerce & donations 14 rules When detected
12
WooCommerce AJAX/?wc-ajax=* cart operations
Bypass
13
WooCommerce pagesCart, checkout and account, page IDs from WooCommerce settings
Bypass
14
WooCommerce session cookieswoocommerce_cart_hash, wp_woocommerce_session_*
Bypass
15
WooCommerce order pagesorder-received and order-pay under checkout
Bypass
16
SureCart session cookiessc_session, surecart_*, sc_cart
Bypass
17
SureCart pagesCheckout, dashboard, order confirmation
Bypass
18
FluentCart session cookiesfct_cart_hash
Bypass
19
FluentCart pagesCheckout, cart, receipt, account
Bypass
20
Easy Digital Downloads pagesCheckout, success, failure, purchase history
Bypass
21
Easy Digital Downloads cookiesedd_items_in_cart, edd_user_address
Bypass
47
GiveWP pagesSuccess, failure, donation history, donor dashboard
Bypass
48
GiveWP session cookieswp-give_session_*
Bypass
49
WP User Frontend pagesLogin, registration, account, subscription, payment
Bypass
50
WP User Frontend upload cookiewpuf_guest_upload
Bypass
Membership 17 rules When detected
22
Ultimate Member pagesUser, login, register, members, account, password reset
Bypass
23
Simple Membership pagesLogin, registration, join, profile
Bypass
24
Simple Membership cookiessimple_wp_membership_*, swpm_in_use
Bypass
25
Paid Member Subscriptions pagesLogin, register, account, success, lost password
Bypass
26
User Registration pagesLogin, my account, registration, lost password, thank you
Bypass
27
User Registration cookiewp_user_registration_session_*
Bypass
28
WP-Members pagesLogin, register, user profile
Bypass
29
WCFM vendor membership pagesVendor membership and registration
Bypass
30
Restrict Content pagesRegistration, account, login redirect
Bypass
31
ProfilePress pagesCheckout, success, failure, profile
Bypass
32
ProfilePress session cookieppwp_wp_session
Bypass
41
Indeed Ultimate Membership Pro pagesLogin, register, account, checkout, thank you
Bypass
42
Indeed Ultimate Membership Pro cookiesihc_register, ihc_cheat_off
Bypass
43
Paid Memberships Pro pagesAccount, billing, checkout, confirmation, invoice, levels
Bypass
44
ARMember pagesLogin, register, member panel, thank you
Bypass
45
MemberPress pagesAccount, login, thank you, unauthorized
Bypass
46
MemberPress paywall cookieThe view counter MemberPress says CDNs must not cache
Bypass
Booking & events 8 rules When detected
33
Events Manager pagesEvents, locations, bookings, edit pages
Bypass
34
Events Manager cookiesem_notices, em_search_events
Bypass
35
Amelia cabinet pagesCustomer, employee and manager panels
Bypass
36
Amelia auth cookiesameliaToken, ameliaUserEmail
Bypass
37
LatePoint customer cabinetCustomer cabinet page
Bypass
38
LatePoint cookieslatepoint_customer_logged_in_*, latepoint_cart_*
Bypass
39
WP Event Manager pagesSubmit, dashboard, login
Bypass
40
WP Event Manager cookieswp-event-manager-submitting-*
Bypass
LMS & community 12 rules When detected
51
MasterStudy LMS pagesStudent account, checkout, wishlist, instructor pages
Bypass
52
MasterStudy LMS cookiesGuest cart session
Bypass
53
Masteriyo pagesAccount, checkout, learn, instructor registration
Bypass
54
Masteriyo session cookiewp_masteriyo_session_*
Bypass
55
LearnDash pagesRegistration and profile pages
Bypass
56
Sensei LMS pagesMy courses (student dashboard)
Bypass
57
Academy LMS pagesDashboard, registration, login, password reset
Bypass
58
FluentCommunity portalThe whole portal path
Bypass
59
LifterLMS pagesCheckout, student dashboard
Bypass
60
Tutor LMS pagesStudent dashboard, registration
Bypass
60
FluentAffiliate portalAffiliate dashboard page
Bypass
60
SureDash portalPortal pages, login and register
Bypass
Exclusions & remote management 4 rules Always on
61
Search results/?s= search pages are different for every query
Bypass
61
Remote management linksOne-click login and connect links, and WP Umbrella requests
Bypass
61
Your custom exclusionsPaths you list in the plugin settings
Bypass
61
Third-party URL patternsPaths other plugins add with the wpbc_cache_bypass_urls filter
Optional
HTML caching 2 rules Always on
62
Cache HTML: anonymous visitorsEvery HTTP 200 response that matched no bypass above, for the TTL you set
Cache
63
No browser cache: HTMLBrowsers refetch fresh HTML after every CDN purge
Cache
Static & performance 6 rules Always on
64
Long browser cache: assets1-year browser cache for CSS, JS, images and fonts
Cache
65
Ignore query string: CSS & JS?ver=6.4.1 and ?ver=6.4.2 share one cache entry
Cache
68
Disable Optimizer: uploadsNo double compression when an image optimiser is active
Optimizer
69
Strip VaryVary: Accept-Encoding only, for a higher hit rate
Cache
70
Force cache: static assetsOverrides no-cache on static files from misconfigured origins
Cache
71
CORS: fonts & static assetsAccess-Control-Allow-Origin: * for cross-origin fonts
Header
Security headers 2 rules Always on
66
Security headersX-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy
Header
66
Security headers: HSTS & CSPStrict-Transport-Security for one year, Content-Security-Policy against framing
Header
Shield WAF exceptions 2 rules Optional
74
Trusted IP whitelistYour IPs and CIDR ranges, plus verified remote management dashboards. Batched 5 per rule.
Optional
75
Third-party Shield exceptionsPaths other plugins add with the wpbc_shield_bypass_urls filter
Optional
Rule execution order

Bypass rules always
run before cache rules.

Bunny evaluates edge rules in order, top to bottom, and for caching the first matching rule wins. Every bypass is placed before the HTML cache rule (62), so logged-in users, carts and admin pages can never be served cached HTML.

✓
Rules 01 to 11 come first: Shield exceptions for your team, logged-in users, admin, REST API, POST requests, cron and feeds.
✓
Rules 12 to 61 are plugin bypasses: ecommerce, membership, booking, LMS, search, remote management and your own exclusions, all before anything is cached.
✓
Rule 62 is the HTML cache gate: only requests that passed every bypass reach it.
✓
Headers apply to every response: security headers, CORS and browser cache rules are added whether the page came from cache or origin.
Request evaluation, example: logged-in user
04
Logged-in users bypass
Rule 04
The wordpress_logged_in_* cookie is present on this request.
→ Cache time set to 0. This request will not be served from cache.
12–61
Plugin bypasses
Rules 12–61
Not needed. The cache decision was already made at rule 04.
Skipped
62
HTML cache rule
Rule 62
Ignored for this request, because an earlier rule already set the cache time.
Not applied
66
Security headers
Rule 66
Header rules still run, so the page gets all six security headers.
→ Added to the response from origin.
Request forwarded to origin. WordPress generates the response normally.
Deploy system

One click. No duplicates.
Safe to redeploy anytime.

Every rule is tracked by its Bunny GUID. Each deploy compares the full rule set with what is live on Bunny and sends only what changed, updating rules in place. Rules you created yourself in the Bunny dashboard are never touched.

⚡
Only changes are sent
Rules are matched to what is live on Bunny and updated in place. A redeploy with nothing new is a single API call, and rules are never deleted and recreated, so your site is never without them.
⏱
Non-destructive
Rules not managed by this plugin, custom rules you've added in the Bunny dashboard, are untouched. The plugin only manages rules it created.
✓
Enable / disable per rule
Toggle individual rules on or off in the Edge Rules tab before deploying. Disabled rules are excluded from the API call entirely, not deployed as inactive.
☉
Keeps itself current
Only rules for active plugins are deployed. Rules redeploy automatically after a plugin update or when you switch a supported plugin on or off, and a manual deploy always takes priority.
Redeploying edge rules… Redeploy
✓Pull zone read: 76 live rules compared, 1 API call
✓Rule 01, Force SSL: unchanged
✓Rule 04, Bypass logged-in users: unchanged
→Rule 13, WooCommerce pages: updated (new checkout page)
→Rule 61, Search results: moved before Cache HTML
✓Rule 62, Cache HTML: unchanged
✓Rule 66, Security headers: unchanged
–Rules 51–60, LMS: no LMS plugin active, skipped
–Rule 74, Trusted IPs: none set, skipped
74
Unchanged
2
Updated
3
API calls
0
Duplicates

74 rules, deployed in
one click.

Free on WordPress.org. Connect your Bunny API key, hit Deploy, and your pull zone is configured correctly for WordPress, in under a minute.

Free forever · GPL-2.0+ · WordPress.org · Tested up to 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