wpt reports no max-age and expire headers when they exist
|
04-30-2020, 08:16 AM
Post: #1
|
|||
|
|||
wpt reports no max-age and expire headers when they exist
Hi,
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: Code: 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: Code: accept-ranges: bytes So I don't understand why wpt report those headers as missing from the request. This is the full test result: https://webpagetest.org/result/200429_0Z...6ddc8c154/ 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. |
|||
06-10-2020, 11:37 PM
Post: #2
|
|||
|
|||
RE: wpt reports no max-age and expire headers when they exist
Hello,
I think I have the same problem for this url, WTP doesn't find a max-age or expires header: Code: FAILED - (No max-age or expires) - https://www.example.com/uploads/s/cms_image/001/576/158/1576158088_5df24388a9d31-thumb.svg While on the detail page you can see those headers... Code: Request 22: https://ww.example.com/uploads/s/cms_image/001/576/158/1576158088_5df24388a9d31-thumb.svg Report's links:
Any idea ? false positive ? Thanks |
|||
07-10-2020, 02:38 AM
Post: #3
|
|||
|
|||
RE: wpt reports no max-age and expire headers when they exist
Hi,
I had not noticed that the explanation is right there at the end of the Performance Review page in the Glossary: Quote:Cache Static |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)