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