Live data from Hacker News

Cloudflare Pages: the best way to build JAMstack websites

blog.cloudflare.com

71–80 of 89 posts

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

#71

What does JAMstack means?

I think generally people are using the term in reference to https://jamstack.org/

I consider it pre-rendering javascript on the server and serving sites that are mostly html with javascript coming in on the browser to take over interactivity.

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

#72
Cloudflare abandoned their previously permissive free speech stance. Are they really a company we want to give more centralized power and market share to? I'm concerned they may be yet another activist tech company who joins the deplatforming train, and would rather not rely on their products or evangelize them if that's the case. Given that they are essentially an Internet utility, I'd rather see them operate in a content-neutral manner except where the law forces them to take action.

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

#73
I think this is great, and I would love to see the automatic builds with preview urls for commits and branches extended to Cloudflare Workers.

They will first need to raise the script limit, which will mean rethinking how worker code is deployed to the edge. If you're going to have potentially hundreds of preview versions deployed per script, you can't eagerly push it to every server worldwide.

But in turn solving that problem and raising that limit will also open up Cloudflare Workers for more potential use cases. Currently if you want to deploy multi-tenant applications with customized per-tenant code on workers you would run out of scripts and need to set each tenant up with their own workers account.

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

#74
If anyone was confused like I was as to what form the beta access page is talking about, it loads a script from Marketo which most any content blocker by default will stop from loading. In my case, I had to toggle off Firefox's Enchanced Tracking Protection (and NextDNS... and uBlock Origin...)

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

#75

I was wondering when this was going to happen! This is a legitimate contender here against Gatsby, Netlify, AWS Amplify and the like One thing I like about this over all the others is they aren’t (to my knowledge) just reselling AWS features with added convenience (not that this is an issue or bad, but this a lot of what Netlify does with their lamdas for instance, if I recall correctly) and their CDN is top notch IM…

Netlify maintains its own edge network that's actually deployed across various clouds. You are right that Netlify uses AWS lambdas to power Netlify Functions, but that was chosen for the wide support AWS lambda enjoys as a standard. The upcoming edge handlers (in beta) execute javascript directly on Netlify edge nodes worldwide.

Yeh, but Netlify also has broken HTTP/2 prioritization whereas Cloudflare has working prioritization

There's also a big difference between deploying CDN nodes at the Edge as CloudFlare does and deploying ‘Edge Nodes’ in other cloud hosting providers which won't really be at the edge.

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

#76
post #67

Earlier quoted context omitted.

> "Worker" functionality is already available on both Netlify and Vercel. Workers at those providers do not run _at the edge_ for each request. They lean on AWS Lambda to pre-generate or render assets, but you can't reliably run a function there on every user-facing request without a noticeable latency penalty.

Vercel's functions do run at the edge, but Netlify's are just AWS Lambda functions.

How is this different than Vercel? We already has a big CF account so it would be easy to move there (we have a bunch of Stackbit sites that are currently deployed on Vercel)

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

#77

Cloudflare is increasingly becoming one of the more interesting companies out there. I feel like they're shifting more and more from being a straight up CDN and trying to dip their toes into things that are closer to but not quite exactly IaaS. Kind of like a better developer experience on top of certain AWS services.

Cloudflare has been a lot more than a CDN for a long time.

This expands what CF means as a potential developer platform. I plan to test Pages this weekend with a Jekyll Stackbit site.

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

#78

I was wondering when this was going to happen! This is a legitimate contender here against Gatsby, Netlify, AWS Amplify and the like One thing I like about this over all the others is they aren’t (to my knowledge) just reselling AWS features with added convenience (not that this is an issue or bad, but this a lot of what Netlify does with their lamdas for instance, if I recall correctly) and their CDN is top notch IM…

This looks great, I have a bunch of Gatsby and Hugo sites I've created (mostly with Stackbit) that I'm going to try and host with this new offering. I've been using Netlify until now because it was the default

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

#80
post #36

What if I already have static HTML and just need a host? No builds (I do them locally), no frameworks, just an HTML structure. I'd love to just be able to point to a git repo and have the site published through Cloudflare, since it already sits in front of my site anyway.

I saw your comment and implemented the ability to connect a repository of static files and host them on our app platform (Uffizzi.com) -- we have a generous free tier! Email is in my profile if you have any questions or feature requests.
Post reply on HN