<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#c6">Comment # 6</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:cdumez@apple.com" title="Chris Dumez <cdumez@apple.com>"> <span class="fn">Chris Dumez</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=153230#c5">comment #5</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=153230#c4">comment #4</a>)
> > Chris, are you open to adding an option for API users to choose the desired
> > behavior here?
>
> It's not just a matter of adding API, we need a way to figure out when you
> are doing a history navigation of an items restored from the session or not.
> It's obvious in the case of the first navigation after a session restore,
> but then you could go back/forward on any webview and you don't know if the
> item you are going to was restored from the session or not.</span >
I personally do not understand the history navigation problem. On history navigation, we always returned potentially stale data. I don't think it matters if the history navigation happened after a session restore or not (or I misunderstood something).
About the Restoring from cache on session restore. we could support both behavior with a setting if needing (basically rolling out <a href="http://trac.webkit.org/changeset/181815">http://trac.webkit.org/changeset/181815</a> and making it conditional based on the new setting). To my knowledge, Safari 9 shipped with this behavior (session restore from the cache). There has not been much push back so far so I am not planning to go back to the previous behavior at this point. If there is push back though, we could restore the previous behavior on desktop.</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>