Cloudflare
A CDN and shield in front of your site, set up by changing your DNS.
Pick it when You want caching, free HTTPS and protection from attacks with almost no work.
Skip it if You want everything inside one cloud account, or cannot point your domain's DNS at them.
- Generous free plan
- Blocks many bad requests before they reach you
- Simple dashboard
- A new layer to debug when something looks wrong
- Caching rules take care to get right
- Quick to set up
- Cheap while small
- Easy to leave
- Room to grow
PriceFree tier, then monthly plans
How to connect it
- Add your domain in Cloudflare and switch your nameservers to theirs.
- Turn on the proxy (orange cloud) for the record that points to your app.
- Set SSL mode to full so traffic is encrypted to your server too.
- Add cache rules for static files, and leave pages with private data uncached.
CLOUDFLARE_API_TOKENCLOUDFLARE_ZONE_ID