Partager via


HcScriptFileExtensions Metabase Property

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

The HcScriptFileExtensions indicates which file name extensions are supported by the compression scheme. The output from dynamic files with the file extensions specified in this property are compressed by IIS.

Important

Setting this parameter to an empty string can have an adverse effect on your server’s performance.

If this parameter is empty, all dynamic responses are sent compressed. In addition, any static file type not specified in HcFileExtensions Metabase Property is dynamically compressed and therefore, not cached.

Also, HcDoDynamicCompression Metabase Property must be set to true for dynamic compression to be performed.

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

Attribute Name Attribute Value

XML Data Type

MULTISZ

WMI Data Type

MULTISZ

ADSI Data Type

MULTISZ

ABO Data Type

MULTISZ

ABO Metabase Identifier

MD_HC_SCRIPT_FILE_EXTENSIONS

Attributes

NO_ATTRIBUTES

Default Value

null

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

2244

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.