I’m testing a website behind Akamai, downstream cacheability for static objects is explicitly set to a fixed value of 7 days (the same as the edge TTL), I can see the cache-control: max-age and expires headers correctly being set but wpt reports they are missing, for example:
FAILED - (No max-age or expires) - https://www.gef.com.co/wcsstore/DefaultStorefrontAssetStore8/images/colors/Gef/favicon.ico
But if you look at that URL you can see that a) it is being cached on the CDN, and b) both cache-control: max-age and expires headers are present with correct values:
date: Wed, 29 Apr 2020 22:09:03 GMT
expires: Wed, 06 May 2020 22:09:03 GMT
last-modified: Mon, 30 Sep 2019 14:18:03 GMT
x-cache: TCP_HIT from a23-50-49-28.deploy.akamaitechnologies.com
So I don’t understand why wpt report those headers as missing from the request. This is the full test result:
NOTE: This test is against the CDN staging network, so if someone wants to test from their browser please check the test script for the IP address to be used.
Thanks in advance.