Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-served-from-cache-worker.php |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-served-from-cache-worker.php b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-served-from-cache-worker.php |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c137159423c6210a4f869f3287f3bbb553118296 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-served-from-cache-worker.php |
@@ -0,0 +1,7 @@ |
+<?php |
+// Set max-age to non-zero value so the next update will be served from cache. |
+header('Cache-Control: max-age=3600'); |
+header('Content-Type:application/javascript'); |
+// Return a different script for each access. |
+echo '// ' . microtime(); |
+?> |