Export (0) Print
Expand All
Expand Minimize

HcPriority Metabase Property

Updated: August 22, 2005

Applies To: Windows Server 2003, Windows Server 2003 with SP1

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.

 

Attribute Name Attribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_HC_PRIORITY

Attributes

NO_ATTRIBUTES

Default Value

1

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

2240

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

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft