I serve static content with S3 and through Cloudfront. However, Google Pagespeed flags that are not specified as a cache header, so I go to the cloud mode settings and change it.

As soon as the distribution is deployed. Google Pagespeed still does not recognize this.
I also add cache control to the object in S3. When I hit an object directly from S3, I see the response header, but when I hit the cloud interface URL, I don't see the cache control header.
Here is the answer I get
Accept-Ranges:bytes
Age:641
Connection:keep-alive
Content-Length:44715
Content-Type:image/png
Date:Fri, 17 Jul 2015 18:39:50 GMT
ETag:"e0b19573b90781f60f8865705c80f11d"
Last-Modified:Fri, 17 Jul 2015 17:50:27 GMT
Server:AmazonS3
Via:1.1 (CloudFront)
X-Amz-Cf-Id:
X-Cache:Hit from cloudfront
source
share