W3C home > Mailing lists > Public > public-html@w3.org > March 2010

Re: Default value of "preload" attribute

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 24 Mar 2010 23:51:17 +0000 (UTC)
To: Robert O'Callahan <robert@ocallahan.org>
Cc: public-html <public-html@w3.org>
Message-ID: <Pine.LNX.4.64.1003242349310.4055@ps20323.dreamhostps.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:05 GMT