[whatwg] Proposal for separating script downloads and execution

Glenn Maynard glenn at zewt.org
Tue Feb 8 16:43:32 PST 2011


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


More information about the whatwg mailing list