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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp

Issue 2830753003: Evict "fallback" RawResource from MemoryCache (Closed)
Patch Set: Created 3 years, 8 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 | « third_party/WebKit/Source/platform/loader/fetch/RawResource.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
index b1de8329c20192e8c7d6a784b635baefb724be7f..65e51ee7461176cb423bc41b692d864bb119a7b1 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
@@ -853,10 +853,6 @@ ResourceFetcher::DetermineRevalidationPolicy(
return kReload;
}
- // Service Worker's CORS fallback message must not be cached.
- if (existing_resource->GetResponse().WasFallbackRequiredByServiceWorker())
- return kReload;
-
// If the same URL has been loaded as a different type, we need to reload.
if (existing_resource->GetType() != type) {
// FIXME: If existingResource is a Preload and the new type is LinkPrefetch
« no previous file with comments | « third_party/WebKit/Source/platform/loader/fetch/RawResource.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698