<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Sep 16, 2009, at 1:40 PM, Peter Kasting wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote">On Wed, Sep 16, 2009 at 1:33 PM, Brady Eidson <span dir="ltr"><<a href="mailto:beidson@apple.com">beidson@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">Oliver is correct.<div><br></div><div>The Page Cache will never be able to make *leaving a page* any faster. But it can make *returning* to a page instantaneous.</div><div><br></div><div>
This is a Good Thing™</div></div></blockquote><div><br></div><div>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".</div></div></blockquote><div><br></div>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.</div><div><br></div><div>I think:</div><div>1 - We all agree that the Page Cache is good</div><div>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.</div><div>3 - We all agree that moving that XHR from unload to pagehide would not make leaving the page any faster.</div><div><br></div><div>I think <a href="https://bugs.webkit.org/show_bug.cgi?id=29193">https://bugs.webkit.org/show_bug.cgi?id=29193</a> is completely orthogonal to the issue of improving what types of pages can go into the Page Cache.</div><div><br></div><div>~Brady</div><div><br><blockquote type="cite"><div class="gmail_quote">
<div><br></div><div>PK </div></div>
</blockquote></div><br></body></html>