pingvin-share icon indicating copy to clipboard operation
pingvin-share copied to clipboard

🚀 Feature: Add support for http range requests

Open techanon opened this issue 9 months ago • 3 comments

🔖 Feature description

Range Requests do not currently appear to be supported for locally hosted files (no third-party storage backend).

🎤 Pitch

A tool I'm using requires support for partial download of a composite file from a remote host. In order to pull specific information from that composite file, it uses the range request headers to define what part of the data is needed to be pulled. It cannot simply download the full file because the composite file could be of significant sizes (ranging from hundreds of MB to multiple GB) and the file could be downloaded hundreds of times in a short period of time across multiple users, so file size optimization is critical, thus the range request usage.

techanon avatar Mar 12 '25 04:03 techanon

I believe that is a feature of the web server, not the application, so this might be difficult to implement unless you have a frontend proxy, but it could be necessary in some cases of course

alexlehm avatar Mar 14 '25 11:03 alexlehm

Range requests need to be implemented by the backend api server to serve partial file chunks, not by frontend (or proxy caching files to serve chunks later).

In any case I think this is not the correct way to solve your problem specifically, but is a good feature to support at some point.

Lenart12 avatar Mar 24 '25 09:03 Lenart12

I have to look it up, but I think a fe proxy can implement that if the files are static. Anyway, I think that would be useful feature if it can be setup somehow

alexlehm avatar Mar 24 '25 09:03 alexlehm