Comment by AtNightWeCode
1 year ago
You typically can't replace Netlify with Cloudflare. You need something like Github actions with some storage, S3 or something and then one can put Cloudflare in front of it all for caching, DDOS protection and so on.
Sounds like you're thinking of Cloudflare still as just the DNS/DDoS protection it started out with. I'm not that familiar with Netlify, but just going on your description:
- Cloudflare Pages: https://pages.cloudflare.com/
- Cloudflare R2: https://developers.cloudflare.com/r2/
I believe you can replace most cases (static sites) with Cloudflare Workers [1].
[1] https://workers.cloudflare.com/
Workers run before the cache so I would avoid this for static sites. One can use workers for dynamic routes on a static site though.