Re:Cloudflare Pages is now Generally Available
by dynamite-ready on Monday April 12, 2021 @09:41AM
(#26779282)
How much different is this product, to Cloudflare worker sites?
[ Parent
| on HN ]
Re:Cloudflare Pages is now Generally Available
by manigandham on Monday April 12, 2021 @10:58AM
(#26780113)
Worker Sites basically adds a subfolder to your project containing a Worker script that gets deployed to your domain and serves up your build output.
It's lower-level, however it's a better option if you have any dynamic/API parts to your site because you can integrate all of that in a single place in your Worker script.
Re:Cloudflare Pages is now Generally Available
by rita3ko on Monday April 12, 2021 @10:01AM
(#26779543)
There's a bit of background here https://developers.cloudflare.com/pages/migrations/migrating...
TL;DR: Workers Sites is basically an elaborate Worker template (which you can modify) and allows you to deploy your sites using the Wrangler CLI — it'll take care of uploading your assets and all, but you're responsible for setting up CI, etc for a continuous deployment experience.
Cloudflare Pages, by contract, integrates directly with Github, which allows us to offer a lot more features out of the box, including running your build, preview URLs, etc.
Hope that makes sense.