Here's the curl -I response to my Javascript file:
HTTP/1.1 200 OK Content-Type: text/javascript Content-Length: 72640 Connection: keep-alive Date: Sat, 18 Feb 2017 16:12:06 GMT Cache-Control: 86400 Last-Modified: Wed, 15 Feb 2017 15:09:28 GMT ETag: "a6ee06ff5e49a4290bb2aabe5e0f9029" Server: AmazonS3 Vary: Accept-Encoding Age: 1173 X-Cache: Hit from cloudfront Via: 1.1 3b17302562f1709d8b6c9f7be1.cloudfront.net (CloudFront) I can see the Cache-Control tag there. Not sure what the Vary and the ETag are doing, but so be it. Does this somehow specify to a user's browser NOT to cache this file? Why are Pingdom or Goog PageSpeed not recognising this as a browser-cacheable file?