W3C home > Mailing lists > Public > public-web-perf@w3.org > June 2013

Re: [ResourcePriorities] Only specify lazyload on img

From: Simon Pieters <simonp@opera.com>
Date: Wed, 26 Jun 2013 01:23:34 +0200
To: "Jonas Sicking" <jonas@sicking.cc>
Cc: "James Simonsen" <simonjam@google.com>, public-web-perf <public-web-perf@w3.org>
Message-ID: <op.wy9clku3idj3kv@simons-macbook-pro.local>
On Wed, 26 Jun 2013 00:54:50 +0200, Jonas Sicking <jonas@sicking.cc> wrote:

> More than anything I would be worried about breaking author expectation.
> I would also imagine that there are use cases both for "load this
> script and execute it as soon as possible, but don't block parsing"
> and "load this script and execute as soon as possible, but don't block
> the load event".


>> I'm not sure the spec requires async to begin loading immediately.
> When else would you load it? What information does the browser have
> available to make discretionary decisions?

The browser could decide to give e.g. stylesheets higher priority than  
async scripts, or some such.

Simon Pieters
Opera Software
Received on Tuesday, 25 June 2013 23:21:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:35 UTC