W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2011

[whatwg] Proposal for separating script downloads and execution

From: Glenn Maynard <glenn@zewt.org>
Date: Tue, 8 Feb 2011 19:43:32 -0500
Message-ID: <AANLkTi=s2LD-NCipyRHZ8SWem2SrkAz+14VKDoLYeJjX@mail.gmail.com>
On Tue, Feb 8, 2011 at 7:31 PM, Kyle Simpson <getify at gmail.com> wrote:

> It's also tempting to just get mired down in this one use-case of mobile
> JavaScript parsing deferral. While this use-case is a great example of why
> controlling execution is important, there are plenty of other use-cases for
> loading a script ahead of time and not using the script (parsing/executing
> it) until later (or sometimes never).
>

Can you list some of them?  Most of the ones I can think of are ultimately
different forms of the same optimization.

(That optimization might be useful even on desktop browsers, as web apps
become larger and more complex--but it's still essentially the same
optimization.)

-- 
Glenn Maynard
Received on Tuesday, 8 February 2011 16:43:32 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:30 UTC