Mobile app version of vmapp.org
Login or Join
Cody1181609

: Cache-Control not being picked up by performance analysis tools for my website (Amazon CF/S3) So, I have this website that is hosted in Amazon S3/CF and when I run any Performance analysis tool

@Cody1181609

Posted in: #AmazonCloudfront #AmazonS3 #Cache #CacheControl #Performance

So, I have this website that is hosted in Amazon S3/CF and when I run any Performance analysis tool I get the following recommendation to set browser caching in some files:


So, I set in (most of the files) the: --cache-control "max-age=7776000, public" meta-tag as you can see here for example in animate.css:

curl -I counsellor.life/assets/css/animate.css % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 71569 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0HTTP/1.1 200 OK
Content-Type: text/css
Content-Length: 71569
Connection: keep-alive
Date: Fri, 19 May 2017 22:28:53 GMT
Cache-Control: max-age=7776000, public
Last-Modified: Fri, 19 May 2017 02:07:53 GMT
ETag: "8bab56c3164c346a680ad414e6f1d7aa"
Server: AmazonS3
Vary: Accept-Encoding
X-Cache: Miss from cloudfront
Via: 1.1 56908f89e8d17ba579c0607313114955.cloudfront.net (CloudFront)


CloudFront Configuration under Behavior:



However I still getting the suggestion in those tools.
Am I missing something?

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Cody1181609

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme