Farid Movsumov
Farid Movsumov

Reputation: 12735

Leverage browser caching issue with already cached content

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

Upvotes: 0

Views: 207

Answers (1)

Alex Z
Alex Z

Reputation: 1877

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.

Upvotes: 1

Related Questions