HcPriority
The HcPriority property specifies the priority rating assigned to a particular compression scheme. If your installation of IIS has multiple compression schemes installed and a client browser indicates, in the Accept-Encoding header, that it can handle multiple compression schemes, IIS uses the priority numbers specified in HcPriority to determine which scheme to use for the request. In that case, IIS uses the matching scheme that has the highest priority number.
Valid priority numbers range from 1 to 10. In general, if you have multiple compression schemes installed with IIS, you should assign each compression scheme a different priority number.
The World Wide Web Publishing Service (WWW service) must be restarted before any changes to this property take effect.
Schema Attributes
Attribute Name |
Value |
---|---|
DWORD |
|
DWORD_METADATA |
|
1 |
|
Not specified. |
|
0 |
|
Not specified |
|
2240 |
|
MD_HC_PRIORITY |
|
NO_ATTRIBUTES |
|
IIS_MD_UT_SERVER |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path |
IIS Admin Object Type |
---|---|
/LM/W3SVC/Filters/Compression/gzip /LM/W3SVC/Filters/Compression/deflate |
IIsCompressionScheme |
Flags
There are no flags for this property.
Requirements
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Product: IIS