Partager via


HcDynamicCompressionLevel Metabase Property

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

The HcDynamicCompressionLevel property specifies the compression level for the compression scheme, when the scheme is compressing dynamic content. Low compression levels produce slightly larger compressed files, but with lower overall impact on CPU and memory resources. Higher compression levels generally result in smaller compressed files, but with higher CPU and memory usage.

The World Wide Web Publishing Service (WWW service) must be restarted for 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_DYNAMIC_COMPRESSION_LEVEL

Attributes

NO_ATTRIBUTES

Default Value

0

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

2241

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.