Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1210)

Unified Diff: Source/core/loader/DocumentLoader.cpp

Issue 318673002: Use the ReloadBypassingCache policy (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed Przemek's comments Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/DocumentLoader.cpp
diff --git a/Source/core/loader/DocumentLoader.cpp b/Source/core/loader/DocumentLoader.cpp
index db2b2ce35833cd725be34e5edd301bd5b2f3f703..be435a98c8f85d963c4048cf1e45f0e563f569db 100644
--- a/Source/core/loader/DocumentLoader.cpp
+++ b/Source/core/loader/DocumentLoader.cpp
@@ -371,7 +371,7 @@ void DocumentLoader::willSendRequest(ResourceRequest& newRequest, const Resource
// this is a common site technique to return to a page viewing some data that the POST
// just modified.
if (newRequest.cachePolicy() == UseProtocolCachePolicy && isRedirectAfterPost(newRequest, redirectResponse))
- newRequest.setCachePolicy(ReloadIgnoringCacheData);
+ newRequest.setCachePolicy(ReloadBypassingCache);
Nate Chapin 2014/06/04 16:43:56 We have used ReloadIgnoringCacheData as long as I
// If this is a sub-frame, check for mixed content blocking against the top frame.
if (m_frame->tree().parent()) {
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698