Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compression
Message
From
20/03/2013 15:23:25
 
 
To
20/03/2013 12:44:50
General information
Forum:
Microsoft IIS Server
Category:
Other
Title:
Miscellaneous
Thread ID:
01568852
Message ID:
01568868
Views:
50
This message has been marked as a message which has helped to the initial question of the thread.
I believe whether or not a response is compressed for IIS depends on the following:
1) The mime type of the data being returned. This can be configured in IIS to allow/remove more types.
2) The accept-encoding header of the requestor. For the response to be compressed the accept-encoding header usually will contain gzip, deflate, or both.
3) The number of times the resource is requested. By default a resource needs to be request at a certain frequency in IIS before it will be compressed. See http://stackoverflow.com/questions/2203798/in-iis7-gzipped-files-do-not-stay-that-way.

To verify that the response is compressed, you need to look at the content-encoding header of the response. This is viewable from the network tab of the developer tools for most browsers. Compressed responses should contain gzip or deflate for that header value.

See http://www.iis.net/configreference/system.webserver/httpcompression for more information.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform