Re: Default value of "preload" attribute

On Thu, 25 Mar 2010, Robert O'Callahan wrote:
>
> The default value of "preload" is currently "auto".

Actually the spec says the default is UA-defined. "auto" is only a 
suggestion.


> The definition of "auto" is
> "Hints to the user agent that the user agent can put the user's needs first
> without risk to the server, up to and including optimistically downloading
> the entire resource."
> 
> This seems like a hint that authors should opt into rather than being 
> the default. Authors who don't think about what they're doing may omit 
> "preload" on large media resources and find that everything's fine for a 
> while, but later users with faster, cheaper networks and more local 
> storage connect and download essentially unbounded quantities of media 
> data. There are already examples of pages with many media elements with 
> no "preload" (or "autobuffer") attribute. IMHO "metadata" would be a 
> better default.

That is a conforming implementation.

I'd be happy to change the suggestion to "Metadata" if you think that 
would be better, but essentially that is an editorial change.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 24 March 2010 23:51:46 UTC