<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Network cache: old pages returned by disk cache on history navigation after session is restored"
   href="https://bugs.webkit.org/show_bug.cgi?id=153230#c36">Comment # 36</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Network cache: old pages returned by disk cache on history navigation after session is restored"
   href="https://bugs.webkit.org/show_bug.cgi?id=153230">bug 153230</a>
              from <span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=153230#c35">comment #35</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=153230#c34">comment #34</a>)
&gt; &gt; (In reply to <a href="show_bug.cgi?id=153230#c33">comment #33</a>)
&gt; &gt; &gt; Comment on <span class=""><a href="attachment.cgi?id=270743&amp;action=diff" name="attach_270743" title="Try to fix mac builds">attachment 270743</a> <a href="attachment.cgi?id=270743&amp;action=edit" title="Try to fix mac builds">[details]</a></span>
&gt; &gt; &gt; Try to fix mac builds
&gt; &gt; &gt; 
&gt; &gt; &gt; View in context:
&gt; &gt; &gt; <a href="https://bugs.webkit.org/attachment.cgi?id=270743&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=270743&amp;action=review</a>
&gt; &gt; &gt; 
&gt; &gt; &gt; &gt; Source/WebKit2/WebProcess/WebPage/WebBackForwardListProxy.cpp:52
&gt; &gt; &gt; &gt; +    bool restoredFromSession;
&gt; &gt; &gt; 
&gt; &gt; &gt; A thought just occurred to me. Don't we need to reset this flag at some
&gt; &gt; &gt; point? Otherwise, it seems like we would *never* again use the back/forward
&gt; &gt; &gt; cache policy to these history items (unless the HistoryItems get regenerated
&gt; &gt; &gt; somehow?).
&gt; &gt; 
&gt; &gt; That was my first idea, but it was not easy to decide when to reset it, and
&gt; &gt; I realized that it was not actually needed, because after the first time,
&gt; &gt; the resource will always hit the page cache or the memory cache if the page
&gt; &gt; cache is disabled, but we won't reach the disk cache again.
&gt; 
&gt; It *may* use the PageCache or the memory cache but there is definitely no
&gt; guarantee of this happening AFAIK. Relying on this seems wrong.</span >

Ok, I assumed it was correct, I'll update the patch to reset the value then. Do you know in which case we would en up in the disk cache again?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>