[whatwg] should we add beforeload/afterload events to the web platform?

Tab Atkins Jr. jackalmage at gmail.com
Tue Jan 17 16:37:05 PST 2012

On Tue, Jan 17, 2012 at 4:29 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 1/17/12 7:24 PM, James Robinson wrote:
>> Even this scheme doesn't work with a model like SPDY push or other
>> bundling techniques or with more aggressive preloading that initiates
>> loads before the main resource is loaded.
> Er... you mean it initiates loads before it has any idea whether the main
> resource might have changed such that it no longer links to the objects in
> question?

SPDY push allows the server to send down additional resources along
with the main resource, before the client actually requests them.
(The server, ideally, should know what resources the main resource
links to.)


More information about the whatwg mailing list