'Why is my cloudflare dns CNAME setup much slower than going direct to the AWS S3 url

I'm building a video streaming site. And I noticed especially the bigger video files have a very long waiting time on first call. When I go directly to the video file from s3 the video is loaded instantly without this long waiting time. I'm using Cloudflare to redirect to my s3 bucket. Even when I turn off the Cloudflare proxy it has this waiting time.

My CNAME: enter image description here

Try it for your self:

Why do I need this CNAME DNS?

  • I just want the URL to look cleaner and that it is not visable that it is a s3 bucket.


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source