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

Many of the files will violate cloudflare terms of service. You cannot put video files behind normal cloudflare cdn as an example.

This is a risky setup.



FWIW a partner of mine has been using this setup less for the CDN aspect and more for the free B2 egress, and a TB or two of large encrypted files (rclone crypt remote) have not resulted in any complaints.


This part of the Cloudflare ToS only applies to cached content. They're fine with simply proxying to your video files.


That is not true. Cloudflare's ToS prohibits serving video files via their CDN regardless of whether they're cached or not.


Why?


Video streaming consumes dramatically more bandwidth than the HTML/CSS/JS/JPEG/etc files which Cloudflare's CDN is intended to serve. Bandwidth is cheap, especially for Cloudflare, but it's not free. Cloudflare's base pricing, and especially their allowance for free accounts, does not account for such large bandwidth consumption.

Cloudflare does have a product specifically designed to stream video. It is priced accordingly.


Doesn't this conflict with acting as DDOS protection? Anyone can bypass it by requesting a video file?


If I had to guess I'd say it's because it completes with their video streaming service[0].

> Cloudflare Stream is the most affordable and easy-to-use streaming platform.

[0] https://www.cloudflare.com/products/cloudflare-stream/




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

Search: