HcFileExtensions

This metabase property indicates which file name extensions are supported by the compression scheme. Only static files with the specified file extensions will be compressed by IIS. If this setting is empty, the scheme supports all file name extensions.

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

The Web service must be restarted for any changes to this property take effect.

Data type List (string)
Default value htm, html, txt
Inheritance Not inheritable

Access Locations

This property is accessible at the following locations:

Metabase Path Key Type
/LM/W3SVC/Filters/Compression/Scheme IIsCompressionScheme

IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier MD_HC_FILE_EXTENSIONS
Data type MULTISZ_METADATA
User type IIS_MD_UT_SERVER

See Also

HcScriptFileExtensions