piped-proxy icon indicating copy to clipboard operation
piped-proxy copied to clipboard

Multimedia caching

Open yurbash opened this issue 11 months ago • 1 comments

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.

yurbash avatar Mar 13 '25 13:03 yurbash

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.

jollySleeper avatar Sep 12 '25 22:09 jollySleeper