we are using CF as CDN for images served on our web site. We understood that browser is not using/or not caching images for which Age response header field value is greater than max-age value. We understand that this value is set by CF.
Below is the response header sample:
HTTP/2 200 OK
date: Thu, 24 Dec 2020 14:46:12 GMT
set-cookie: __cfduid=xxx; expires=Sat, 23-Jan-21 14:46:12 GMT; path=/; domain=xxx.com; HttpOnly; SameSite=Lax
expect-ct: max-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct”
Image for which this response is retrieved is never retrieved from browser’s cache.
Question is how is this value calculated for image requests and can we control its creation through CF configuration, or in general how could we rectify this.