Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/update-worker.php |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/update-worker.php b/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/update-worker.php |
index 2486820c26c5f6483270a2d15f6527ec3ee11662..6a18bcafc846b1c0a1fbc0b04df470ebed5318b4 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/update-worker.php |
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/update-worker.php |
@@ -1,7 +1,7 @@ |
<?php |
-// Force the browser to cache this script. update() should always bypass this |
-// cache and fetch a new version. |
-header('Cache-Control: max-age=86400'); |
+// update() does not bypass cache so set the max-age to 0 such that update() |
+// can find a new version in the network. |
+header('Cache-Control: max-age=0'); |
// Return a different script for each access. |
header('Content-Type:application/javascript'); |