次の方法で共有


HcOnDemandCompLevel

The HcOnDemandCompLevel property specifies the compression level for the compression scheme, when the scheme is to compress static content on demand. Low compression levels produce slightly larger compressed files, but with lower overall impact on CPU and memory resources. Higher compression levels generally result in small compressed files but with higher CPU and memory usage.

Valid compression levels range from 1 to 10.

The World Wide Web Publishing Service (WWW service) must be restarted before any changes to this property take effect.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

DWORD

ABO Data Type

DWORD_METADATA

Schema Default

10

Internal Default

Not specified.

Upper Bound

0

Lower Bound

Not specified

Internal ID

2242

Friendly ID

MD_HC_ON_DEMAND_COMP_LEVEL

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

See Also