Re: netwerk and media experts; feedback requests for background upload/download WebAPI video download use-case

2016-09-21 Thread Robert O'Callahan
On Thu, Sep 22, 2016 at 10:47 AM, Ehsan Akhgari wrote: > My point was more about whether there's something useful that can be > done with partially downloaded files other than media files. Not all > file formats lend themselves to be used before the full file is >

Re: netwerk and media experts; feedback requests for background upload/download WebAPI video download use-case

2016-09-21 Thread Ralph Giles
On Wed, Sep 21, 2016 at 3:19 PM, Ehsan Akhgari wrote: > Good point, which brings us to this question: is media playback the only > use case for using the in-progress downloads? This in-progress issue is mostly about the download size, so I can imagine the same thing

Re: netwerk and media experts; feedback requests for background upload/download WebAPI video download use-case

2016-09-21 Thread Ehsan Akhgari
On 2016-09-21 4:35 PM, Robert O'Callahan wrote: > On Thu, Sep 8, 2016 at 5:45 AM, Andrew Sutherland < > asutherl...@asutherland.org> wrote: > >> A motivating use-case is for a site that wants to download movies/podcasts >> in the background and keep them around for offline purposes. Once the

Re: netwerk and media experts; feedback requests for background upload/download WebAPI video download use-case

2016-09-21 Thread Robert O'Callahan
On Thu, Sep 8, 2016 at 5:45 AM, Andrew Sutherland < asutherl...@asutherland.org> wrote: > A motivating use-case is for a site that wants to download movies/podcasts > in the background and keep them around for offline purposes. Once the file > is downloaded, it seems clear that the

Re: netwerk and media experts; feedback requests for background upload/download WebAPI video download use-case

2016-09-21 Thread Ehsan Akhgari
Also, in many cases the HTTP cache may not have enough space to store a downloaded movie, for example. But more importantly, it seems to me that relying on the browser's internal magic for this is error prone. For example, the video player reusing the same URL as the one being passed to

Re: netwerk and media experts; feedback requests for background upload/download WebAPI video download use-case

2016-09-07 Thread Ben Kelly
I wrote a test using fetch() that seems to suggest we don't re-use in-progress requests at the http cache level. (Note, this downloads about 200MB... don't click on your mobile.) https://people.mozilla.org/~bkelly/fetch/http-cache/ On Wed, Sep 7, 2016 at 1:45 PM, Andrew Sutherland <