I just moved a static site from a VPS to Amazon S3. I have decided to serve only gzipped version of my pages, since S3 is not a webserver I can't have logic based on headers. I also use Cloudfront as CDN.
I was testing my page with http://gtmetrix.com/ and got a bad note because I don't add the vary accept encoding header
. So I checked what this is about and as far as I understand it makes sense when we serve both compressed and uncompressed versions.
So I'd like you to help me clarify this. Should I add it? Thanks :)