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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/cache/resources/stale-while-revalidate.php

Issue 2767853003: Remove stale-while-revalidate from blink (Closed)
Patch Set: Created 3 years, 9 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: third_party/WebKit/LayoutTests/http/tests/cache/resources/stale-while-revalidate.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/cache/resources/stale-while-revalidate.php b/third_party/WebKit/LayoutTests/http/tests/cache/resources/stale-while-revalidate.php
deleted file mode 100644
index cb7fd72dee04a5011eee6dc56e7b03bd394d0737..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/cache/resources/stale-while-revalidate.php
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-$last_modified = gmdate(DATE_RFC1123, time() - 1);
-
-header('Cache-Control: private, max-age=0, stale-while-revalidate=1');
-header('Last-Modified: ' . $last_modified);
-header('Content-Type: application/javascript');
-echo('report("' . $_SERVER['HTTP_RESOURCE_FRESHNESS'] . '");');
-?>

Powered by Google App Engine
This is Rietveld 408576698