Partager via


HcCompressionBufferSize Metabase Property

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

The HcCompressionBufferSize property specifies the size of the compression buffer (in bytes) that IIS uses for receiving compressed data. This buffer is used for on-demand compression of static content, as well as dynamic content compression. A larger buffer yields slightly faster compression performance, but at the cost of using additional memory.

The size limit specified by HcCompressionBufferSize is used by IIS, only if either HcDoOnDemandCompression Metabase Property or HcDoDynamicCompression Metabase Property are set to true. The maximum allowable size of the compression buffer is 1,048,576 bytes (1 MB).

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

Attributes

NO_ATTRIBUTES

Default Value

8192

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

2223

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/Parameters

IIsCompressionSchemes

Code Example

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