Cloudflare is slowing down my live stream

I’m not sure if this is the correct tag. I apologize first hand. Anyway, i have the following problem: whenever i activate Cloudflare’s CDN (DNS & HTTP proxy), it makes the files (.ts,.m3u8 files) very slow and makes my live stream buffer. I never had this problem before until 2-3 days ago. The reason i know it’s Cloudflare, is because when i disable the CDN, it loads like it always did before. But when i turn it on, it lags and everyone starts buffering.

Thank you.

1 Like

Cloudflare as a proxy does add some delay to requests and, depending on where in the world your customers are, it can also reduce the bandwidth/speed of downloads from your origin (depends on many factors like bad underwater cables, slow IX’s, bad routing -fixable by argo-, etc). This generally isn’t an issue for most websites where all the JS, CSS, and even HTML is cached, but it can be a huge issue when you’re constantly accessing many relatively large files that aren’t already cached/pre-cached on the Cloudflare level.

1 Like

I never had this problem before though. Everything was working very well for over a month. Every user is experiencing this problem (i have around 5-7k users). It never was an issue until 2-3 days ago.

1 Like

Maybe not a solution for you depending on your site setup but could you serve those files from an alternate subdomain name? They could still be on the same host which you have answering on multiple hostnames. With this setup you can simply bypass Cloudflare on a specific subdomain name (‘grey cloud’) whilst still proxying everything else.

I have my sites able to serve all assets over a couple of different subdomains and my site has links to certain asset types on specific subdomains so each can have their own proxying on/off state.

1 Like

Thanks for the response, Saul. The problem is i need every subdomain to run through the Cloud CDN. I found a post, and it seems like Cloudflare will limit your speed if there’s too much traffic while streaming… I upgraded to Pro subscription but i guess it is still limited through their end.

Here is the site i was talking about: https://serverfault.com/questions/897890/Cloudflare-proxy-slow-http-download-speed

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.