我已经在我的源服务器上对静态内容进行了压缩。但是当我请求任何内容时,我没有得到压缩内容。
响应标头应显示接受编码。
下面我粘贴了我的请求和响应标头
响应头
Accept-Ranges bytes
Access-Control-Allow-Orig... *
Age 66882
Cache-Control max-age=86401,Public, private
Connection keep-alive
Content-Length 672360
Content-Type application/x-javascript
Date Tue, 17 Feb 2015 12:51:03 GMT
Etag "201:0"
Last-Modified Tue, 10 Feb 2015 10:55:41 GMT
Server Microsoft-IIS/7.5
Via 1.1 e5ac6dd.cloudfront.net (CloudFront)
X-Amz-Cf-Id fg_yEVDpepF4e0Uk_y0Z-aZ801X1aA==
X-Cache Hit from cloudfront
请求标头
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding gzip
Accept-Language en-US,en;q=0.5
Cache-Control no-cache
Connection keep-alive
Host d18m3f4yg8acci.cloudfront.net
Pragma no-cache
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
谢谢普梅坎德