Leverage browser caching issue with already cached content

208 views Asked by At

Google Page Speed complains about following file (Leverage browser caching)

http://dy2em7yqysbvb.cloudfront.net/images/flags/az.png (expiration not specified)

In my browser file already come from cache with 304 Not Modified HTTP STATUS CODE

enter image description here

I use Cloudfront cdn service of Amazon and my settings are shown below

enter image description here

1

There are 1 answers

0
Alex Z On BEST ANSWER

The configuration you specify here controls how CloudFront caches objects, not how they are cached by browser. You still need to send Cache-Control header from origin to control browser caching.