<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>4123</bug_id>
          
          <creation_ts>2005-07-24 22:27:55 -0700</creation_ts>
          <short_desc>Back/forward cache does not cache enough pages</short_desc>
          <delta_ts>2007-12-21 21:57:18 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>History</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.tuaw.com/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>13629</dependson>
    
    <dependson>13630</dependson>
    
    <dependson>13631</dependson>
    
    <dependson>13634</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Samuel Allen">allen.sam</reporter>
          <assigned_to name="Dave Hyatt">hyatt</assigned_to>
          <cc>beidson</cc>
    
    <cc>gavin.sharp</cc>
    
    <cc>gsherloc</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15153</commentid>
    <comment_count>0</comment_count>
    <who name="Samuel Allen">allen.sam</who>
    <bug_when>2005-07-24 22:27:55 -0700</bug_when>
    <thetext>The back/forward cache in Safari is nice when it works, but it doesn&apos;t work for many popular web sites. 
The new cache in Firefox (Deer Park Alpha 2) works for many of these sites. So, browsing these sites in 
Firefox is much faster than browsing them in WebKit ToT. As I understand it the cache is only activated 
when a site doesn&apos;t have any frames. Unfortunately some of the slowest-to-load sites have frames, so the 
utility of the current cache is limited. Also, Deer Park seems not to re-fetch ads and such from the 
network when the fastback feature is activated, whereas WebKit goes out to the network, which makes 
Firefox faster still.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15175</commentid>
    <comment_count>1</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2005-07-25 11:59:55 -0700</bug_when>
    <thetext>Yeah, unfortunately our b/f cache does not work with iframes (or on pages with login fields).
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25515</commentid>
    <comment_count>2</comment_count>
    <who name="Samuel Allen">allen.sam</who>
    <bug_when>2005-12-04 13:20:46 -0800</bug_when>
    <thetext>This problem is making Safari look bad compared to Firefox 1.5. See this MacWorld article

http://www.macworld.com/news/2005/12/02/ff15look/index.php</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51525</commentid>
    <comment_count>3</comment_count>
    <who name="Andrew">akwb</who>
    <bug_when>2006-10-21 12:19:22 -0700</bug_when>
    <thetext>Is this being worked on? An improvement in this area would improve the whole feel of the Safari browsing experience.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51528</commentid>
    <comment_count>4</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2006-10-21 14:51:25 -0700</bug_when>
    <thetext>Agreed.  Unfortunately making the b/f cache work with frames is hard.  It would be nice to at least fix the login field problem (which IMO is even worse than the iframe problem).
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10665</commentid>
    <comment_count>5</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2007-05-08 19:52:40 -0700</bug_when>
    <thetext>I am aggressively pursuing this at the moment.

Since this bug report is very general and lacks specifics, I have split off what we consider to be 3 major tasks into their own bugs:

http://bugs.webkit.org/show_bug.cgi?id=13629
http://bugs.webkit.org/show_bug.cgi?id=13630
http://bugs.webkit.org/show_bug.cgi?id=13631
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10652</commentid>
    <comment_count>6</comment_count>
    <who name="Gavin Sherlock">gsherloc</who>
    <bug_when>2007-05-09 00:10:48 -0700</bug_when>
    <thetext>Not sure under which of the depending bugs this should go, but a site that always seems to reload pages from scratch, and is very slow in doing so, is http://soccernet.espn.go.com/.  Navigating around that site is slow and painful, even just flipping back and forth between two different pages.  NB Firefox is not that great on the site either.  Webkit is slightly better than released Safari, but still seems to reload from network when going back to a previously visited page.  Also note, which may be related to the cache, if you go to their scores page and have it set to reload every 45 seconds (e.g. http://soccernet-akamai.espn.go.com/scoreboard?league=eng.1&amp;date=20070428&amp;refresh=45&amp;cc=5901) and then scroll down on that page, when it reloads the scrolling position is not remembered.  This can be annoying on game day.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10612</commentid>
    <comment_count>7</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2007-05-10 10:44:22 -0700</bug_when>
    <thetext>espn is notoriously slow in just about all browsers, unfortunately.

However you&apos;re talking about general caching of resources, not the back/forward cache.

As for the scroll position being lost when reloading the page, see http://bugs.webkit.org/show_bug.cgi?id=13266</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10613</commentid>
    <comment_count>8</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2007-05-10 10:48:30 -0700</bug_when>
    <thetext>My apologies, 13266 wasn&apos;t the one I was looking for.  The one I meant was http://bugs.webkit.org/show_bug.cgi?id=13422</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10175</commentid>
    <comment_count>9</comment_count>
    <who name="Gavin Sherlock">gsherloc</who>
    <bug_when>2007-05-12 16:14:48 -0700</bug_when>
    <thetext>For the soccernet site, the loss of scrolling position upon reload is not a regression - the same behavior is also exhibited in release Safari, as well as TOT Webkit,  so I suspect that there may be different underlying causes between the soccernet problem and the one in http://bugs.webkit.org/show_bug.cgi?id=13422</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65051</commentid>
    <comment_count>10</comment_count>
    <who name="Samuel Allen">allen.sam</who>
    <bug_when>2007-12-21 21:57:18 -0800</bug_when>
    <thetext>Wow, I just downloaded a new nightly build for Windows and the back/forward cache seems to be in it. My observation is that the cache seems to work much better than it did 2 years ago, and pages with form controls are cached more often. Many sites on the Internet unfortunately do not work with the back/forward caches of Firefox, Opera, and Safari however. I don&apos;t have a list of all the specifics but it seems to me that this feature is solid enough for this bug to be closed, as WebKit has feature parity with Firefox and Opera (as far as I can tell).

I know that sites such as http://ubuntuforums.org/ didn&apos;t used to work with the cache, and now they do. The point of this bug was not to perform a detailed analysis of all sites, but just to document the general problem. Therefore, I think it should be marked FIXED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>