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

Unified Diff: chrome/common/chrome_switches.cc

Issue 455623003: stale-while-revalidate experimental implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Support the bandwidth reduction proxy. Created 6 years, 4 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
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 47c03b11717b3de7d7f40d56b55f38e3ff70665c..34030a9617d8c6309e8fd9268516aca352867ee8 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -349,6 +349,9 @@ const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble";
// Disable SPDY/3.1. This is a temporary testing flag.
const char kDisableSpdy31[] = "disable-spdy31";
+// Disables use of the Cache-Control: stale-while-revalidate directive.
+const char kDisableStaleWhileRevalidate[] = "disable-stale-while-revalidate";
+
// Disables the suggestions service.
const char kDisableSuggestionsService[] = "disable-suggestions-service";
@@ -600,6 +603,11 @@ const char kEnableSpellingFeedbackFieldTrial[] =
// minimize the number of full SSL handshakes completed.
const char kEnableSSLConnectJobWaiting[] = "enable-ssl-connect-job-waiting";
+// Enables implementation of the Cache-Control: stale-while-revalidate directive
+// which permits servers to allow the use of stale resources while revalidation
+// proceeds in the background.
+const char kEnableStaleWhileRevalidate[] = "enable-stale-while-revalidate";
+
// Enables an experimental hosted app experience.
const char kEnableStreamlinedHostedApps[] = "enable-streamlined-hosted-apps";

Powered by Google App Engine
This is Rietveld 408576698