| Index: LayoutTests/http/tests/w3c/webperf/resources/generate_resource.php
|
| diff --git a/LayoutTests/http/tests/w3c/webperf/resources/generate_resource.php b/LayoutTests/http/tests/w3c/webperf/resources/generate_resource.php
|
| index 5451729262231d869cb6be046d7d363cbc136bab..974e14afae9f4e4f9d762372b6acedf310530820 100644
|
| --- a/LayoutTests/http/tests/w3c/webperf/resources/generate_resource.php
|
| +++ b/LayoutTests/http/tests/w3c/webperf/resources/generate_resource.php
|
| @@ -49,7 +49,11 @@
|
| header("HTTP/1.1 $response_code");
|
| header("Content-type: $content_type");
|
| if (isset($_GET["cacheable"])) {
|
| - header("Etag: 7");
|
| + if ($_GET["cacheable"] == 1) {
|
| + header("Cache-control: max-age=120");
|
| + } else {
|
| + header("Etag: 7");
|
| + }
|
| } else {
|
| header("Cache-control: no-cache");
|
| }
|
|
|