Reviewed by Maciej.
Fixes:
http://bugs.webkit.org/show_bug.cgi?id=16408
When navigating back/forward to a http:// link, we should prefer to
load from cache if possible.
* loader/FrameLoader.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28662
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-12-12 MorganL <morganl.webkit@yahoo.com>
+
+ Reviewed by Maciej.
+
+ Fixes:
+ http://bugs.webkit.org/show_bug.cgi?id=16408
+
+ When navigating back/forward to a http:// link, we should prefer to
+ load from cache if possible.
+
+ * loader/FrameLoader.cpp:
+
2007-12-12 Anders Carlsson <andersca@apple.com>
Reviewed by Sam.
case FrameLoadTypeBack:
case FrameLoadTypeForward:
case FrameLoadTypeIndexedBackForward:
- if (itemURL.protocol() == "https")
+ if (itemURL.protocol() != "https")
request.setCachePolicy(ReturnCacheDataElseLoad);
break;
case FrameLoadTypeStandard: