Global Edge Delivery with Bunny CDN

197+ Points of Presence, per-GB pricing starting at $0.01, Origin Shield to reduce origin load by 90%, and free SSL — all managed through a single configuration.

Why Bunny CDN?

🌍

197+ Global PoPs

One of the largest CDN networks with edge nodes on every continent. Sub-30ms latency for most visitors worldwide.

💰

Per-GB Pricing

No commitment tiers. Pay only for bandwidth you use, starting at $0.01/GB. Perfect for unpredictable traffic.

🛡️

Origin Shield

Collapse thousands of edge requests into a single origin hit. Reduces Image Foundry processing by up to 90%.

🔒

Free SSL

Automatic certificate provisioning for pull zones and custom hostnames. Zero configuration required.

How It Works

Client → Bunny CDN Edge (197+ PoPs)
            ↓ cache miss
         Bunny Origin Shield (single region)
            ↓ cache miss
         Image Foundry Origin
            ↓
         Process image (sharp/libvips) → Disk Cache
            ↓
         Response with Cache-Control, ETag, Vary: Accept

On cache hits, the entire pipeline is skipped — Bunny serves directly from its edge in under 30ms.

Cache Purging

Three purge strategies via the Image Foundry API:

MethodEndpointDescription
URL purgeDELETE /api/cdn/purgePurge specific URLs — instant invalidation
Full purgeDELETE /api/cdn/purge-allPurge entire pull zone
Tag purgeDELETE /api/cdn/purge-tagsFalls back to full purge on Bunny (tag purge not natively supported)

Custom Domains

Serve images from your own domain with automatic free SSL:

# Add a custom hostname
POST /api/cdn/custom-hostname
{ "hostname": "img.example.com" }

# Customer creates a CNAME record:
img.example.com → your-pullzone.b-cdn.net

# Verify it's active
GET /api/cdn/custom-hostname/img.example.com/verify

Recommended Settings

SettingRecommendedWhy
Origin Shield✓ EnabledReduces origin load by 90%+
Vary by Accept✓ EnabledCorrect WebP/AVIF auto-format negotiation
Cache Expiry31,536,000s (1 year)Transformed images are immutable
Perma-CacheOptionalSurvives edge purges — useful for high-traffic images

Start Delivering Optimised Images in Minutes

Connect your storage, point Bunny CDN, and go live.

Get Started Free Read the Docs