Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Cloudflare Pages open beta (cloudflare.com)
25 points by jgrahamc on March 3, 2021 | hide | past | favorite | 7 comments


Why do all of these services want to manage the build? I already have CI, I don't need to use your service which probably doesn't have all of the tools I need. (Build environment linked below, how do they update it? Is it frozen or will I be screwed when they change it?) I must be missing some reason that they feel the need to do this.

https://developers.cloudflare.com/pages/platform/build-confi...

I currently use Netlify as it has a simple API to deploy a zip file or a slightly more complicated API to avoid re-uploading unchanged files if you have a big site.

https://docs.netlify.com/api/get-started/#deploy-via-api

I'm glad that Cloudflare is adding the option to be an origin for static sites, I would switch over if they added the option to just upload files to them without this CI/CD nonsense.


Bunny has just that. They just call it edge storage and you can use it as origin.

https://bunny.net/edge-storage/


Sounds like you'd be happier using Workers Sites, which has been available for over a year. https://blog.cloudflare.com/workers-sites/

The point of Cloudflare Pages is to provide the CI for you, which some people want. If you don't want that, then keep using Workers Sites.


The link in that blog redirects to this new service.

https://workers.cloudflare.com/sites


Yeah, I guess it's assumed that most users probably want to use Cloudflare Pages instead. But Workers Sites still exists as a feature in `wrangler`, the Cloudflare Workers CLI tool.

Workers Sites itself is really just some automation for uploading files into Workers KV, along with a template Worker script that serves them as a static site. You could build your own from scratch if you wanted.

My point here is that the low-level tools are readily available if that's what you want. You don't have to use Cloudflare Pages if you'd rather have more control.

(I am the tech lead for Cloudflare Workers...)


Feels like the most interesting thing here is the shareable link after every commit that effectively lets you share the current edition of the site without your collaborators having to build locally themselves.

That's cool! Great for collaborative site building.

Are there any advancements here on the singleplayer front? E.g. does this notably improve the experience of building a personal site let's say?


You can do this with very easily with github action (or any CI) and firebase. It's what my team has been doing.

Whenever there is a merge into dev, it github will build and deploy it to firebase that everyone has access to on the team.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: