The header sent by the server is cache-control: "public, max-age=604800".
This means that the header has exactly one value and that it is public, max-age=604800, which is not a valid cache-control header value.
If you remove the quotes, it will parse as two separate (and valid) cache-control headers, giving the intended public (shared proxies can cache) and max-age=604800 (cache for a week) properties.
The header sent by the server is
cache-control: "public, max-age=604800"
.This means that the header has exactly one value and that it is
public, max-age=604800
, which is not a valid cache-control header value.If you remove the quotes, it will parse as two separate (and valid) cache-control headers, giving the intended
public
(shared proxies can cache) andmax-age=604800
(cache for a week) properties.