Organizational Research By

Surprising Reserch Topic

GZip Compression On IIS 7.5 is not working


I am trying to support GZip compression for my static files under IIS (which should be enabled by default but not) but not working so far. Here is the the section under node inside the web.config file of the web app;


  
  
    
    
    
    
    
  

  
    
    
    
    
    
    
  




I tried it with Google Chrome. Here are the Request Headers;

Accept:text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8

Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3

Accept-Encoding:gzip,deflate,sdch

Accept-Language:en-US,en;q=0.8

Cache-Control:no-cache

Connection:keep-alive

Host:my-website-url

Pragma:no-cache

User-Agent:Mozilla/5.0 (Windows NT 6.0) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
These are the Response Headers;

Accept-Ranges:bytes

Content-Length:232651

Content-Type:application/x-javascript

Date:Thu, 04 Aug 2011 08:58:19 GMT

ETag:"a69135734a50cc1:0"

Last-Modified:Mon, 01 Aug 2011 12:56:37 GMT

Server:Microsoft-IIS/7.5

X-Powered-By:ASP.NET
I check the applicationHost.config file and found some nodes like below;

----



----



----


    
    
        
        
        
        
        
        
    



----


What am I missing here?
asked May 13, 2015 in htaccess by rajesh
0 votes
2,862 views



Related Hot Questions



Government Jobs Opening


...