Custom CDN (Pro Add-on)
Route images and assets through your own CDN domain for maximum performance.
Folder Structure Requirement
Your CDN must mirror Ghost's exact folder structure. Content paths (/content/images/, /content/media/) and asset paths (/assets/built/, /assets/js/, /assets/fonts/) must be identical.
Ghost: https://yoursite.com/content/images/2025/08/flower.png CDN: https://cdn.yoursite.com/content/images/2025/08/flower.png
How do I set up Custom CDN?
- Enable "Custom CDN" module in the Pro generator wizard.
- Enter your CDN base URL (e.g.
https://cdn.yoursite.com). - (Optional) Set a separate Image CDN URL for images only.
Point your CDN origin to your Ghost domain. SnapStatic handles all URL rewriting automatically.
Which CDN providers are recommended?
- Cloudflare CDN — free tier available
- BunnyCDN — $1/TB, fast global PoPs
- AWS CloudFront — enterprise
What gets rewritten to CDN URLs?
/content/images/,/content/media/→ CDN URL/assets/→ CDN URL (if asset CDN is set)- HTML internal paths stay exactly the same