Multimedia caching
There is already an nginx (used to be varnish) based caching implementation for the API.
However, I was wondering whether it would be possible to implement multimedia caching for the proxy, in order to reduce the network traffic. This would be really helpful for shared Piped instances.
I was thinking of a file or S3-like (minio) based solution, but I lack the required understanding on YouTube's protocols, to help with the implementation.
Hey @yurbash, this would just hoard data on S3 or any other block storage that would be used. Doesn't make sense for videos. For images like thumbnails it is doable but the tradeoff between cost of storage and directly calls to (Streaming Site that should not be named), direct calls always wins. IPv6 are also rotated to avoid rate limit or blocking.