Request headers:
:method: GET
:path: /foo.webp
priority:i
sec-ch-ua: "Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
sec-fetch-dest: image
sec-fetch-mode: no-cors
sec-fetch-site: cross-site
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Response headers:
access-control-allow-origin:*
age: 15644
allow: GET|HEAD
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
cache-control: public,max-age=3600
content-length: 13546
content-type: image/webp
date: Wed, 09 Oct 2024 18:44:03 GMT
server: nginx
via: 1.1 google
This images is fetched from the CDN each time I refresh the site, so browser caching is not working. Why?
Solution: clientTtl = maxTtl
fixed the issue. A default Client TTL = 3600
overrided the max-ttl
returned by a server