News for hackers. Stuff that matters.
Re:Porting my website to Workers Sites and Zola by icebraining on Friday September 27, 2019 @01:16PM (#21094099)
It's interesting to see how Cloudflare seems to be desperately avoiding becoming a static site hosting service.

They now have a KV storage and a CDN, but you still have to write and upload a <20 line script to connect the two, instead of being able to just select a KV namespace on the CDN from which to serve a static site.

EDIT: The KV store does have a REST endpoint for reading values, though.. I wonder if you could use the CDN to point a domain to /storage/kv/namespaces/[site-namespace]/values/ and use Page Rules to pass the authentication headers. I'd try it, but I'd rather burn the fiver on a glass of Port.

Re:Porting my website to Workers Sites and Zola by steveklabnik on Friday September 27, 2019 @01:20PM (#21094149)
I mean, before this you could do it but had to do it all yourself, I’d characterize this as the opposite of avoidance. It’s moving closer. I am, of course, biased.

You have to start somewhere. We would like to make this even easier in the future. Can’t promise specifics or times for that, though.

Re:Porting my website to Workers Sites and Zola by icebraining on Friday September 27, 2019 @01:39PM (#21094328)
Fair enough, I didn't mean it as a dig against Cloudflare. It's just that you're already providing all the components, and now even giving the instructions on how to connect them, just not adding a configuration screen to do so.

It's like a pc shop that sells you a nice pre-built desktop and monitor, but instead of a VGA/HDMI cable there's a paper with instructions on where to buy one :)

Re:Porting my website to Workers Sites and Zola by rita3ko on Friday September 27, 2019 @02:38PM (#21094931)
It’s not so much that we’re avoiding it, as much as we think there are more interesting things for us to accomplish. We could double down on hosting static sites, but that’s only one use case of the realm of possibilities of what we can achieve with compute on the edge with Workers. We’re excited for people to get their hands dirty, and see where else they take it.
Re:Porting my website to Workers Sites and Zola by OJFord on Friday September 27, 2019 @07:40PM (#21097244)
Yes, that absolutely makes sense to me, and to continue GP's analogy - it's a 'pro PC shop', not a 'fix your computer and tell you you need a new mouse mat and thumb drive' shop.

If someone springs up and starts making money providing a static site hosting solution built on top of CloudFlare, that sounds to me like a success for CF, not a missed opportunity.