Skip to main content

General Configuration Notes

Click the pull zone name to go into the dashboard for it. The headers below refer to sections of the dashboard to go to.

Caching -> General

Enable “Smart Cache”, “Query String Sort” and “Cache Error Response”.

If you are hosting videos, enabling “Optimise For Video Delivery” is a good idea.

Caching -> Request Coalescing:

Enable this, UNLESS you are serving dynamic content from your CDN, in which case you should not enable it, or there may be security implications (as the website warning states). If you don’t know if you are serving dynamic content from your CDN… don’t enable this setting.

Security -> General:

Enable “Block Root Path Access” and “Block POST Requests”.

Security -> 502/504 Error Pages (optional):

If you want, you can enable “Whitelabel Error Pages”, if you don’t want Bunny’s branding on CDN error pages.

Security -> S3 Authentication:

If you're using an S3-compatible cloud storage service, and don't want your bucket to be publicly accessible, then you can enable this option. You will need to have created a user with an access/secret key pair to enter here for BunnyCDN to authenticate itself with, that has access to the bucket. See this page for more information on that.

Headers:

Enable “Add CORS Headers”. I don’t remember if it auto-fills out a default value for this setting, but I have it set to “eot, ttf, woff, woff2, css”, which enables CSS stylesheets and font files to be served without issues.

Bunny Optimizer (not recommended):

For art websites: I don’t recommend this. The image optimizer is likely to mess with your image files, as most CDN use cases aren’t art websites; I suspect the optimiser likely uses chroma subsampling, i.e. reducing the range of colours in the image, and it does not say. WebP is also an unpopular format among artists as it is not fully supported by various art software packages.

The CSS and JS minifying you can do yourself, and even if you didn’t, the cost savings of minifying your JS and CSS aren’t going to get close to the $9.50 a month price tag unless your website is absolutely gigantic.

For non-art websites: If you are not using an image optimizer of your own, the image optimizer may be useful if you are not serving images where quality is crucial, and where the WebP format isn’t an issue.

Deserted Chateau does not use this feature.

Edge Rules (optional):

If you have existing edge rules on your current CDN provider, you can add them here.

Bunny AI (fuck right off):

Nope. No sir. Fuck right off with that crap. If you're using AI art generation tools, we will not be friends.

General -> Hostname:

You can add a custom hostname URL for your CDN here; as the instructions say, you also need to add a CNAME record to your DNS provider for this to work, pointing your custom hostname URL to the provided BunnyCDN url. Be aware that if you’re currently already using a CDN, you likely already have a CNAME record for this purpose in your DNS provider; changing it will make your current CDN unable to serve requests. If your DNS provider propagates the record change quickly, you might have a brief period of downtime if you didn’t configure BunnyCDN correctly at this point.

Enable Force SSL. Bunny can create the certificate for you provided the CNAME record above is present; the three-dot options menu on the far right -> Add SSL certificate.

General -> Origin:

Enable “Verify Origin SSL Certificate”.