lancachenet / monolithic

A monolithic lancache service capable of caching all CDNs in a single instance
https://hub.docker.com/r/lancachenet/monolithic
Other
737 stars 73 forks source link

Question #20

Closed nyemenzo closed 5 years ago

nyemenzo commented 5 years ago

Can we use this to cache other streaming website like youtube or social media like facebook?

GotenXiao commented 5 years ago

Unfortunately not. Both YouTube and Facebook are HTTPS-only sites, we can't cache their content. Also, Facebook, being a very dynamic website, is a particularly poor candidate for caching - the content varies heavily by user and page load, whereas the content that is mostly passed through the caches from a content distribution network is specifically generic (i.e. consistent between multiple users).

Even if they were to use unencrypted HTTP, many of the streaming sites use protocols such as HLS and DASH, which reduce the effectiveness of a cache - clients may receive a differing quality level output, and the cache would likely only see small fragments of the total content stream.