[whatwg] Proposal for separating script downloads and execution
bzbarsky at MIT.EDU
Thu May 26 09:07:56 PDT 2011
On 5/26/11 11:56 AM, Nicholas Zakas wrote:
For images, you can preload them and choose when they're shown, but
_cannot_ choose when they're decoded.
For CSS, you can preload it and choose when it's applied but _cannot_
generally choose when it's parsed.
For JS, you want to be able to preload it and control when it's executed
(in the sense that the side-effects it causes become visible). The
question is whether control is also needed over exactly when
side-effect-free preprocessing of the script happens.
More information about the whatwg