Is it against TOS to cache streaming video on a free plan?

After following the instructions to set up Cloudflare in front of a Backblaze B2 public bucket, I was able to get Cloudflare to cache all content from it. I noticed this even works for video streaming. When I tested it with a large MP4 file, after the first request had been made to the URL, I was able to jump around in the streaming video and Chrome Dev Tools showed each 206 response having the “cf-cache-status: HIT” header. This let me to believe that Cloudflare was caching the entire video in the edge cache.

Because I was able to do this on the free billing option, without using Cloudflare Stream, I’m wondering, is this against the TOS? I looked at (searched for “stream”) but wasn’t able to find anything explicitly mentioned.

Hi @mattwelke,

Section 2.8 answers your question:

2.8 Limitation on Serving Non-HTML Content

The Service is offered primarily as a platform to cache and serve web pages and websites. Unless explicitly included as a part of a Paid Service purchased by you, you agree to use the Service solely for the purpose of serving web pages as viewed through a web browser or other application and the Hypertext Markup Language (HTML) protocol or other equivalent technology. Use of the Service for serving video (unless purchased separately as a Paid Service) or a disproportionate percentage of pictures, audio files, or other non-HTML content, is prohibited.

I see I missed it there. Thanks for pointing it out to me.

1 Like