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

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: Rebase. Created 6 years, 2 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 161d0aad0a55a44c7f06756063ffb9e805e9c725..428b8571efa9ed0d98e782d99801469db11931e2 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -594,6 +594,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