Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compression
Message
De
20/03/2013 15:23:25
 
 
À
20/03/2013 12:44:50
Information générale
Forum:
Microsoft IIS Server
Catégorie:
Autre
Titre:
Divers
Thread ID:
01568852
Message ID:
01568868
Vues:
49
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform