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

Oliver Hunt oliver at apple.com
Wed Sep 16 12:36:45 PDT 2009


This change isn't about making navigating away from a page faster,  
it's about improving the experience when navigating back.  A poorly  
designed site will always be slow (synchronous IO on unload/ 
beforeunload -- wtf?)  The issue is people doing trivial things in  
onbeforeunload that don't take any real time, but because of the  
onunload navigating back becomes much slower.

(At least this is my understanding as someone not at all involved in  
the loader code)

--Oliver

On Sep 16, 2009, at 11:27 AM, Peter Kasting wrote:

> On Wed, Sep 16, 2009 at 11:23 AM, Geoffrey Garen <ggaren at apple.com>  
> wrote:
> Prior to r48388, things that could make the back button slow:
> 1. An unload handler in the page you're leaving.
> 2. Reloading the page you're going back to.
>
> Post r48388, things that could make the back button slow:
> 1. An unload handler in the page you're leaving.
>
> Yes, that's completely accurate.  I am only suggesting that item 1  
> dominates item 2.
>
> BTW, w.r.t. making unload handlers faster, we haven't actually sped  
> anything up yet, but we're getting closer to converging on an  
> implementation + plan for the future.  I intend to write something  
> on the relevant bug in a few minutes.
>
> PK
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

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


More information about the webkit-dev mailing list