Skip to main content

Bunny CDN

Bunny CDN is a competitively-priced CDN with simple configuration. Use it in front of Filebase when you want extra edge presence in regions where Bunny excels (Eastern Europe, Asia-Pacific) or when you have an existing Bunny account.

Create a Pull Zone

  1. In the Bunny dashboard, Pull Zones → Add Pull Zone.
  2. Configure:
FieldValue
Namemy-filebase-cache
Origin URLhttps://<bucket-name>.s3.filebase.io
Pricing tier(your choice)
  1. Click Create.

Connect a custom domain

Under the Pull Zone's settings:

  1. Add your custom hostname.
  2. Enable Free SSL so Bunny issues a Let's Encrypt cert.
  3. Update your domain's DNS to CNAME to the Pull Zone's *.b-cdn.net hostname.

Cache-Control

Bunny respects origin Cache-Control headers. Set them at upload time on Filebase:

aws --endpoint https://s3.filebase.io s3 cp ./asset.js s3://my-bucket/ \
--cache-control "public, max-age=31536000, immutable"

When to use Bunny + Filebase

  • You want extra geographic edge coverage beyond what the built-in Filebase CDN provides.
  • You're already a Bunny customer and want a uniform CDN layer.
  • You want Bunny's specific features (Image Optimizer, Edge Rules).

The Filebase CDN is free and built in — start there, only add Bunny if you have a specific reason.

What's next