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

Brady Eidson beidson at apple.com
Wed Sep 16 13:52:07 PDT 2009

On Sep 16, 2009, at 1:40 PM, Peter Kasting wrote:

> On Wed, Sep 16, 2009 at 1:33 PM, Brady Eidson <beidson at apple.com>  
> wrote:
> Oliver is correct.
> The Page Cache will never be able to make *leaving a page* any  
> faster.  But it can make *returning* to a page instantaneous.
> This is a Good Thing™
> I think we're all agreeing with each other.  At least, this is what  
> I was trying to agree with when I said "Yes, that's completely  
> accurate".

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.


> PK

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

More information about the webkit-dev mailing list