Cloudflare Pages: The Free Tier That Delivers
Unlimited bandwidth, global CDN, and zero cost. Here's what I learned deploying a personal site to Cloudflare Pages.
Why Cloudflare Pages
For a static personal site, Cloudflare Pages is hard to beat:
- Unlimited bandwidth — no surprise bills
- 500 builds/month — plenty for a personal site
- 300+ edge locations — global CDN out of the box
- Automatic HTTPS — no certificate management
- Preview deployments — every branch gets its own URL
Setup
Connect your GitHub repo, set the build command to npm run build, and the output directory to dist/. That’s it.
Every push to main triggers a production deploy. Every push to any other branch creates a preview deployment with its own URL.
Performance
With Astro’s static output and Cloudflare’s edge caching, pages load in under a second from anywhere in the world. The free tier has no bandwidth throttling — your site runs at the same speed as a paying customer’s.
The catch
There isn’t one. For static sites, the free tier is genuinely generous. The only limitation is one concurrent build, which only matters if you’re pushing multiple branches simultaneously.