4 ms·
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 s
by icebraining 7y ago
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.
- steveklabnik 7y agoI 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.
- icebraining 7y agoFair 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 :)
- deleted 7y ago[deleted]
- rita3ko 7y agoIt’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.
- OJFord 7y agoYes, 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.