WebPagetest Forums
"No max-age or expires" with Amazon CF, advise - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: "No max-age or expires" with Amazon CF, advise (/showthread.php?tid=14209)



"No max-age or expires" with Amazon CF, advise - junky - 02-15-2016 10:43 AM

Hi and thanks for the great help and tools

These are my results: http://www.webpagetest.org/result/160214_PY_VQD/1/performance_optimization/

I'm using Amazon CF CDN which results in this issue. I've attached my CF Behavior settings - is there anything wrong there?
Should I invalidate the cache in order for it to take the new settings or something?

Thanks


RE: "No max-age or expires" with Amazon CF, advise - junky - 02-19-2016 10:47 AM

please help?


RE: "No max-age or expires" with Amazon CF, advise - pmeenan - 02-24-2016 01:44 AM

From the looks of the cloudfront docs, those settings just control the time that objects live in their edge cache but the origin still needs to specify explicit expires or cache-control headers: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html#ExpirationDownloadDist