N Docs
← Back to site

Use with Nahnu Cache Connector and Bunny Shield

2 min readUpdated November 23, 2026

Caches and firewalls in front of your WordPress site can get in the way of checkout, billing and the API, because those must reach WordPress every time. Nahnu Links handles this by itself with Nahnu Cache Connector, and needs a few exceptions with other tools.

Short links themselves never go through your WordPress site, so they aren’t affected by your site’s cache or firewall.

With Nahnu Cache Connector for Bunny.net#

If your site uses Nahnu Cache Connector for Bunny.net, Nahnu Links works with it by itself:

  • Sign-up, checkout and pay pages skip the CDN cache, so every buyer gets a fresh page.
  • Bunny Shield lets AI assistants, Stripe’s webhooks, client sites and the edge script through to your site.

Nothing to set up.

With another cache or firewall#

Add these exceptions:

ExceptionFor
Don’t cache /subscribe/ and everything under itPricing, checkout and invoice pay pages
Don’t cache /wp-json/nl/v1/The dashboard’s API, AI assistants and client sites
Allow requests to /wp-json/nl/v1/ from StripePayment webhooks
Allow requests to /wp-json/nl/v1/ from the Bunny edgeThe edge script talking to your dashboard

If you changed the pricing page address, use your address instead of /subscribe/.

Signs something is blocked#

SymptomLikely cause
Checkout shows another buyer’s details, or a stale priceCheckout pages are cached
Payments go through in Stripe but not on your siteThe firewall blocks Stripe’s webhook
AI assistants get “forbidden”The firewall blocks /wp-json/nl/v1/mcp
Client sites can’t find your dashboardThe firewall blocks the edge script