[whatwg] Restarting the media element resource fetch algorithm after "load" event

Philip Jägenstedt philipj at opera.com
Fri Oct 9 00:39:10 PDT 2009


On Thu, 08 Oct 2009 22:53:45 +0200, Robert O'Callahan  
<robert at ocallahan.org> wrote:

> On Fri, Oct 9, 2009 at 7:31 AM, Philip Jägenstedt <philipj at opera.com>  
> wrote:
>
>> I wouldn't be particularly opposed to dropping the load event, unless
>> there's a use case for the guarantee that the resource won't be evicted  
>> from
>> cache as long as the page is loaded.
>>
>
> If there is a need for that, then I think we should add some kind of  
> pinning
> API, although I'm not sure how it would avoid the problem of greedy  
> authors
> pinning resources unnecessarily. But we'd have to consider the actual use
> cases.

I'd say that the autobuffer attribute is exactly that API, which gives  
both author control and browser liberty to ignore it when necessary.

-- 
Philip Jägenstedt
Opera Software



More information about the whatwg mailing list