Problems with Gzip compression on Amazon CloudFront
Does your request contain the necessary Accept-Encoding: gzip
header?
Your headers look like curl output, which does not send that header by default.
You can test gzip encoding with curl via: curl -H "Accept-Encoding: gzip" https://example.com/asset.js"