My result says that I have an "F" for cached static content

The report say that all the images that I serve from CloudFront - S3 has no max-age or expires

For example this one:
FAILED - (No max-age or expires) - http://i1.static.truyentranhgay.com/mon-qua_f054b9d9106d45a5940cf877d042c93d.png

And this is what I came up when using Chrome

[font=Impact]Remote Address:54.239.130.84:80 Request URL:http://i1.static.truyentranhgay.com/mon-qua_f054b9d9106d45a5940cf877d042c93d.png Request Method:GET Status Code:304 Not Modified Request Headersview parsed GET /mon-qua_f054b9d9106d45a5940cf877d042c93d.png HTTP/1.1 Host: i1.static.truyentranhgay.com Connection: keep-alive Cache-Control: max-age=0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36 DNT: 1 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8,en-GB;q=0.6,vi;q=0.4,fr-FR;q=0.2,fr;q=0.2,ja;q=0.2,es;q=0.2 Cookie: km_ai=8WXTGJLiPu3bpijFiFEdMLt8SFE%3D; km_lv=x; km_uq=; mp_23d6c7b2809a5effda58d31ffa2b1409_mixpanel=%7B%22distinct_id%22%3A%20%22bundaumamtom1989%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22__mps%22%3A%20%7B%7D%2C%22__mpso%22%3A%20%7B%7D%2C%22__mpa%22%3A%20%7B%7D%2C%22__mpap%22%3A%20%5B%5D%7D; _ga=GA1.2.963397771.1406487656 If-None-Match: "fc81344d3a3e84fdbcb88d49f007572f" If-Modified-Since: Sun, 14 Sep 2014 11:25:29 GMT Response Headersview parsed HTTP/1.1 304 Not Modified Connection: keep-alive Date: Sun, 21 Sep 2014 05:50:39 GMT Cache-Control: max-age=2592000000 Expires: Wed, 11 Apr 2096 20:25:37 GMT ETag: "fc81344d3a3e84fdbcb88d49f007572f" Server: AmazonS3 Age: 584679 X-Cache: Hit from cloudfront Via: 1.1 8b000ada2ea911a25c4380f053ee3656.cloudfront.net (CloudFront) X-Amz-Cf-Id: iQxg8z71pnyhzaaXL24fK_0pEAFoh6iQ4LHyVOXvCK81SHRKZoWNaA==[/font]

While I passed Google Page Speed and YSlow on this same item. What could be the reason?

If you’re getting a 304, you aren’t setting expires headers on the object so the browser can cache it. The max-age=0 cache-control is also a give-away.

I don’t know why page speed gave you a pass for that but it shouldn’t.

I’m having this same issue. Did you ever get this resolved?

Do you have a link to a test result and what is “this”? Getting proper caching headers on S3?