Mp4 file CDN

caching

#1

Does CloudFlare provide CDN services for MP4 files? If so, please let me know how it works and how it works. Our site provides video uploaded by users directly to MP4 files.


#2

It does but there are caveats.

  • MP4s will be cached by CloudFlare if the file size has to be under some threshold.
  • Safari has a problem playing MP4s served by CloudFlare - sometimes. As far as I can tell, it has to do with the origin server if it’s Unix.

I’m loading various versions of the same video through media queries. From 396KB to 7MB. They all work fine and are served cached from the edge. The origin is a Windows server.

References:





#3

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