[webkit-dev] Back/forward cache for pages with unload handlers

Peter Kasting pkasting at google.com
Wed Sep 16 14:07:30 PDT 2009


On Wed, Sep 16, 2009 at 1:52 PM, Brady Eidson <beidson at apple.com> wrote:

> At some point when I wasn't paying close attention, this thread started to
> talk about two different things that both happened to be related to unload
> handlers.
>
> I think:
> 1 - We all agree that the Page Cache is good
> 2 - We all agree that when a page has XHR in its unload handler and spins a
> busy loop, that makes leaving the page slower.
> 3 - We all agree that moving that XHR from unload to pagehide would not
> make leaving the page any faster.
>
> I think https://bugs.webkit.org/show_bug.cgi?id=29193 is completely
> orthogonal to the issue of improving what types of pages can go into the
> Page Cache.
>

Yes, that's all true.  I'm not sure why my comment caused so much confusion.
 It wasn't trying to deny any of the above, rather it was simply suggesting
that (extremely) slow unload handlers might make this change's benefits hard
for users to see, especially if they are copied into pagehide handlers.  As
you note, this is irrelevant when considering what can go in the bfcache; it
is only relevant when considering the entire problem of "how do we make all
page transitions fast".

I hope that helps?

PK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090916/c36b8430/attachment.html>


More information about the webkit-dev mailing list