[whatwg] why double downloading of ogg videos ?

Julian Reschke julian.reschke at gmx.de
Tue May 4 07:16:58 PDT 2010


On 17.04.2010 09:36, Robert O'Callahan wrote:
> This is an implementation issue rather than a spec issue. It's basically
> just because of the way the Firefox network cache works. When we play an
> Ogg video we generally don't download the data in a single continuous
> HTTP GET; if the server supports byte Range requests, we actually seek
> to various places in the stream at different times to fetch metadata
> etc. So the network cache never sees a request that returns the complete
> resource, and never caches it. We do have a special "media cache" that's
> good at caching fetched media data, but "Save As" doesn't know about the
> media cache. We could fix that, but it would be somewhat complex and to
> be honest it's probably not worth it.
 > ...

Rob,

related question: do you do the partial GET only for getting access to 
metadata, or are you also using it for seeking in the video? (As opposed 
to downloading it once into the media cache, and then use that content 
throughout?)

Best regards, Julian



More information about the whatwg mailing list