次の方法で共有


HcFileExtensions

The HcFileExtensions indicates which file name extensions are supported by the compression scheme. Only static files with the specified file extensions are compressed by IIS. If this setting is empty, no static files are compressed.

In addition to file name extension matches, HcDoOnDemandCompression and HcDoStaticCompression must be set to true for compression to be performed.

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

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

MULTISZ

ABO Data Type

MULTISZ_METADATA

Schema Default

Not specified.

Internal Default

Not specified.

Upper Bound

Not specified

Lower Bound

Not specified

Internal ID

2238

Friendly ID

MD_HC_FILE_EXTENSIONS

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