This property indicates which MIME types are supported by the compression scheme. Only static files with the specified MIME type will be compressed by IIS. If this setting is empty, then the scheme supports all MIME types.
In addition to MIME type matches, HcDoOnDemandCompression and HcDoStaticCompression must be set to TRUE for compression to be performed.
The Web service must be restarted before any changes to this property take effect.
Data type | String |
Default value | text/html text/text |
Inheritance | Not inheritable |
This property is accessible at the following location:
Metabase Path | Key Type |
/LM/W3SVC/Filters/Compression/Scheme | IIsCompressionScheme |
The following table lists additional information required only for code that uses the IIS Admin Base Object.
Metabase identifier | MD_HC_MIME_TYPE |
Data type | STRING_METADATA |
User type | IIS_MD_UT_SERVER |