W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2012

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 17 Jan 2012 16:37:05 -0800
Message-ID: <CAAWBYDDX=_Q2JAEjmYS5sYuo3jxaB3hbC-sXzM1wuTMfi+y9tQ@mail.gmail.com>
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.)

~TJ
Received on Tuesday, 17 January 2012 16:37:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:10 UTC