Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My understanding is a worker isn't a way around that, they clarified that all in their blog here:

https://blog.cloudflare.com/updated-tos/ > Finally, we made it clear that customers can serve video and other large files using the CDN so long as that content is hosted by a Cloudflare service like Stream, Images, or R2.

> Video and large files hosted outside of Cloudflare will still be restricted on our CDN

It is a bit confusing, espec when they only enforce it at super high usage/when it becomes an issue, but makes sense that a Worker isn't a magical free pass when you don't get charged Bandwidth on them either



I continue to be super confused by this. The blog post says, as you quote:

> we made it clear that customers can serve video and other large files using the CDN so long as that content is hosted by a Cloudflare service like Stream, Images, or R2.

But when I click through to the specific CDN terms it still says:

> Unless you are an Enterprise customer, Cloudflare offers specific Paid Services (e.g., the Developer Platform, Images, and Stream) that you must use in order to serve video and other large files via the CDN.

A plain reading of this would still make me think putting the CDN in front of video files on R2 was forbidden. It is now clear that you can use (the very expensive) Stream to serve video, sure.


Yea.. the blog post and the terms don't exactly align. Looking at the Terms only, they say "specific Paid Services" and in the Developer Platform Terms, further say

> The Cloudflare Developer Platform consists of the following Services: (i) Cloudflare Workers, a Service that permits developers to deploy and run encapsulated versions of their proprietary software source code (each a “Workers Script”) on Cloudflare’s edge servers; (ii) Cloudflare Pages, a JAMstack platform for frontend developers to collaborate and deploy websites; (iii) Cloudflare Queues, a managed message queuing service; (iv) Workers KV, D1, Durable Objects, Vectorize, Hyperdrive, and R2, storage offerings used to serve HTML and non-HTML content...

Key part being the last bit there, they specifically call out products which can be used to serve non-html content as part of the Dev Plat, and Workers is not one of them.

Cloudflare employees in the past have specifically and repeatedly say CDN in front of R2 is fine, but nothing about Workers except really old posts that predate the ToS changes and the blog post.


Given that no Cloudflare employees chimed in when we talked about this last on Discord, seems they’re confused too.

I should probably use our enterprise support for once to get a clarifying answer..

Personally / my company is sticking with what the terms say, and not a blog post (which may not have been reviewed as heavily). Makes sense, since we agreed to the terms, not every blog post.


> they specifically call out products which can be used to serve non-html content as part of the Dev Plat, and Workers is not one of them.

Ah, but R2 is! My specific question was about whether I could serve video from R2 via the CDN... it sounds like yes, probably? They have not really succeeded in making their terms totally transparent here.

I actually have no opinion on how/if workers are involved...


You definitely can via R2. The blog post specifically says it, in my (not a lawyer) opinion the terms pretty clearly say you can by saying specific paid products can bypass the limitation, and the dev plat terms saying R2 is one of those specific products, and numerous employees have said it's fine, and I've heard cases of people pushing PBs of data per month without any issue. I have no doubt about that at least.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: