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

Side by Side Diff: LayoutTests/http/tests/inspector/network/resources/cached-script.php

Issue 637523002: DevTools: use timing information for "disk cached" resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 <?php
2 if ($_SERVER["HTTP_IF_MODIFIED_SINCE"]) {
3 header("HTTP/1.0 304 Not Modified");
4 exit;
5 }
6
7 header("Cache-control: max-age=3600");
8 header("Expires: " . gmdate(DATE_RFC1123, time() + 600));
9 header("Last-Modified: " . gmdate(DATE_RFC1123, time() - 600));
10 header("Content-Type:text/javascript; charset=UTF-8");
11 ?>
12 console.log("Done.");
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/inspector/network/ping-response.html ('k') | Source/devtools/front_end/audits/AuditRules.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698