Live data from Hacker News

Cloudflare Pages: the best way to build JAMstack websites

blog.cloudflare.com

21–30 of 89 posts

Re: Cloudflare Pages: the best way to build JAMstack websites

#21
post #12

Earlier quoted context omitted.

Couldn't you build that with Cloudflare Workers relatively easily?

Maybe? It’s more that I’d like to pay for the managed service of hosting my assets, registering branches for long lived access URLs, getting preview links, and promoting my site to its latest version. Differently: why are Cloudflare and others interested in running my build?

They probably see that most people don’t want to deal with setting up their own build, and want to make adoption as easy as possible.

Though they should definitely make it optional.

Re: Cloudflare Pages: the best way to build JAMstack websites

#22

Other exciting news from article: > Over the coming months, we’ll be working on integrating Workers and Pages into a seamless experience. It’ll work the exact same way Pages does: just write your code, git push, and we’ll deploy it for you. The only difference is, it won’t just be your frontend, it’ll be your backend, too. And just to be clear: this is not just for stateless functions. With Workers KV and Durable Obj…

Preview Environments are slowly being added into most existing platforms, which is great. They are insanely useful.

Cloudflare would really put themselves ahead of the pack if they're able to get a seamless Preview experience that includes stateful backend services.

Re: Cloudflare Pages: the best way to build JAMstack websites

#23
post #17
post #12

Earlier quoted context omitted.

Couldn't you build that with Cloudflare Workers relatively easily?

Yes, you can...the feature people have been using, which existed before Cloudflare pages is "Workers Sites". https://developers.cloudflare.com/workers/platform/sites

So, the difference here is that pages is free?

edit: This offering appears fairly similarly to the paid Workers Sites one. What changed that this is now free?

Re: Cloudflare Pages: the best way to build JAMstack websites

#24

Other exciting news from article: > Over the coming months, we’ll be working on integrating Workers and Pages into a seamless experience. It’ll work the exact same way Pages does: just write your code, git push, and we’ll deploy it for you. The only difference is, it won’t just be your frontend, it’ll be your backend, too. And just to be clear: this is not just for stateless functions. With Workers KV and Durable Obj…

Preview Environments are slowly being added into most existing platforms, which is great. They are insanely useful. Cloudflare would really put themselves ahead of the pack if they're able to get a seamless Preview experience that includes stateful backend services.

Agree. I keep calling that Serverless 2.0. 1.0 being basically a fast cache clearing CDN.

Workers is so cool but the starting point is a a bit rough. It looks like they have big plans and will eventually have a full pipeline vs the current Wrangler + scripts situation.

Re: Cloudflare Pages: the best way to build JAMstack websites

#26
post #7

This is probably going to go somewhere, and it's good to see Netlify get some more competition, but this announcement kind of lost me at: > There are no great solutions. Therea are plenty of existing solutions here that do pretty much the same thing, including Netlify, Vercel, and going all the way back to Heroku. Cloudflare is expanding their product line, which is fine, but lets not pretend that this is some brand…

I can only speak to Netlify and Vercel, both really good steps forward but very immature solutions.

Re: Cloudflare Pages: the best way to build JAMstack websites

#27
post #12

Earlier quoted context omitted.

Couldn't you build that with Cloudflare Workers relatively easily?

Maybe? It’s more that I’d like to pay for the managed service of hosting my assets, registering branches for long lived access URLs, getting preview links, and promoting my site to its latest version. Differently: why are Cloudflare and others interested in running my build?

I think the target market here appreciates the one stop Solution given the big players here have always offered that.

I think alternative build integrations would be good though I do agree with that full stop. There should be a way to hook into the system from an outside pipeline to notify that a build is ready and able to be uploaded

I’d bet it will be an enterprise only feature first once though once it happens, we shall see

Re: Cloudflare Pages: the best way to build JAMstack websites

#28
post #7

This is probably going to go somewhere, and it's good to see Netlify get some more competition, but this announcement kind of lost me at: > There are no great solutions. Therea are plenty of existing solutions here that do pretty much the same thing, including Netlify, Vercel, and going all the way back to Heroku. Cloudflare is expanding their product line, which is fine, but lets not pretend that this is some brand…

There is some marketing here to be sure, but in some sense, they are at least partially right in that:

- they aren’t just reselling AWS services (if I recall correctly Netlify and to at least some extent Vercel do, for instance)

- They will be providing their own database platform (coming soon according to the blog post, as of 12/17/2020) which means they can provide the ability to have a single end to end provider for my app. (Interested to know if CloudFlare will provide a secure user authentication layer on top)

- they have one of the world's largest CDNs, no other player really offers that out of the box (though you can just as easily integrate with theirs, it’s just not as convenient and I’m sure the integration there will play out accordingly)

- They are offering workers out of the box, which are a lot like lambdas, in that they run some arbitrary function(s) when called, but have greater capabilities beyond that with the system since they are “CloudFlare Aware”

It’s not all untrue, however:

To your point, it’s very much a marketing message vs a hard reality in that services offer a good deal of feature parity and this is more of a leap in the current iteration of things rather than a pure innovation in the problem space. You can readily achieve this today with some combination of Heroku + CloudFlare CDN, for instance (and that would include edge workers, if you so choose)

I imagine this wouldn't be terribly hard to emulate with AWS Amplify[0] either, though. I like that CloudFlare is offering something not directly tied to AWS or another cloud provider explicitly (I'm not talking about them using it for extra compute or what have you. I know that CloudFlare has their own network of servers and generally they're selling access to their metal, not another provider(s))

[0]: https://aws.amazon.com/amplify/

Re: Cloudflare Pages: the best way to build JAMstack websites

#29
post #23
post #17

Earlier quoted context omitted.

Yes, you can...the feature people have been using, which existed before Cloudflare pages is "Workers Sites". https://developers.cloudflare.com/workers/platform/sites

So, the difference here is that pages is free? edit: This offering appears fairly similarly to the paid Workers Sites one. What changed that this is now free?

Workers, also now has a free tier, with some usage limitations: https://developers.cloudflare.com/workers/platform/pricing

The "Workers Sites" works differently than "Cloudflare Pages", at least from the developers side. You're using their wrangler tool instead of passing a git repo to their CI/CD setup.

Re: Cloudflare Pages: the best way to build JAMstack websites

#30
I understand the need for launching with GitHub integration only, really. It's probably 2020 table stakes for launching a hosting platform, ticking the "up and running in 5 minutes" requirement checkbox. (See also: Digital Ocean's recently launched App Platform, same situation.)

But many of us walked away from GitHub and embraced GitLab in the last few years, probably a big wave in 2018. As far as I can tell, there's not a publicly documented non-GitHub way to interact with Cloudflare Pages. Cloudflare folks: if you can't launch with a full GitLab integration that's understandable, but I'm tired of sitting these things out because they can only launch in simple mode. For my part, I'd rather fuss around with .gitlab-ci.yml now than start a project on my old GitHub account and deal with unknown migration pains later.

Post reply on HN