Can using R2 with CDN&Cache break TOS?

Cloudflare has a famous rule that serving much of non-HTML content, like images and videos, can break their TOS:

Content Delivery Network (Free, Pro, or Business)

Cloudflare’s content delivery network (the “CDN”) Service can be used to cache and serve web pages and websites. 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. Cloudflare reserves the right to disable or limit your access to or use of the CDN, or to limit your End Users’ access to certain of your resources through the CDN, if you use or are suspected of using the CDN without such Paid Services to serve video or a disproportionate percentage of pictures, audio files, or other large files. We will use reasonable efforts to provide you with notice of such action.

But, at the same time, Cloudflare advices that we can use R2 bucket with CDN, not mentioning any rules about content types:


Domain access through a custom domain allows you to use Cloudflare Cache to accelerate access to your R2 bucket.

So, if I store many of media files in my R2, and proxying it with Cloudflare CDN, can it break the TOS?

R2 is part of the Developer Platform. You’re ok.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.