共用方式為


HcCompressionBufferSize

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 or HcDoDynamicCompression 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.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

DWORD

ABO Data Type

DWORD_METADATA

Schema Default

8192

Internal Default

8192

Upper Bound

0

Lower Bound

Not specified

Internal ID

2223

Friendly ID

MD_HC_COMPRESSION_BUFFER_SIZE

Property Attributes

NO_ATTRIBUTES

User Type

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

IIsCompressionSchemes

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

See Also