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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 <?php
2 $last_modified = gmdate(DATE_RFC1123, time() - 1);
3
4 header('Cache-Control: private, max-age=0, stale-while-revalidate=1');
5 header('Last-Modified: ' . $last_modified);
6 header('Content-Type: application/javascript');
7 echo('report("' . $_SERVER['HTTP_RESOURCE_FRESHNESS'] . '");');
8 ?>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698