7 ms·
https://workers.cloudflare.com/sites https://workers.cloudflare.com/sites Though, as a word of caution, they have a limit of 30 sites at the moment, which cann
by throwaway77384 7y ago
https://workers.cloudflare.com/sites https://workers.cloudflare.com/sites
Though, as a word of caution, they have a limit of 30 sites at the moment, which cannot be lifted unless you are on an enterprise account. So, YMMV.
For a single static site, it's ridiculously easy to use though.
- steveklabnik 7y agoThanks for the shout-out!
- neya 7y agoThat's super useful, thank you very much for sharing!
- kentonv 7y agoTechnically there is not a limit of 30 sites, but rather of 30 deployed worker scripts. With a little JavaScript editing, you can create a single worker script that is able to serve an unlimited number of sites (by including the hostname in the KV key). (I'm the tech lead of Cloudflare Workers.)
- nojvek 7y agoKentonv, how does CloudFlare manage to offer free cdn when google cloud and other providers charge a ton for bandwidth. What are your limits? How are you still making money in the millions of sites that use free CloudFlare cdn ?
- matsur 7y agoThe product and engineering challenges involved in building out our network such that it is both performant and cost-effective to operate are fascinating. The easiest way to learn the answer to this sort of question is to come work at Cloudflare :)
- manigandham 7y agoBecause internet architecture is based around transit capacity, not usage. You buy capacity like 10gbit/sec lines to interconnect with and Cloudflare has enough bandwidth to easily support their free customers and upsell on other features. Remember they are also a security service with DDOS protection and that requires high bandwidth anyway. Other CDNs don't charge for bandwidth but rather for bytes-used, which is just more profitable, especially if you don't have a lot of other features to charge for. I'm surprised that more CDNs don't try to compete with CF on this but apparently that's just how they want to operate.