[This is preliminary documentation and subject to change]
This metabase 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 higher CPU and memory usage.
Valid compression levels are from 1 to 10.
The Web service must be restarted before any changes to this property take effect.
| Attribute Name | Attribute Value |
| Data Type | DWORD |
| Attributes | NO_ATTRIBUTES |
| Default Value | 10 |
| MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
| User Type | IIS_MD_UT_SERVER |
| StartingNumber | |
| EndingNumber | 0 |
| ID | 2242 |
This property is accessible at the following locations:
| Metabase Path | IIS Admin Object Type |
| /LM/W3SVC/Filters/Compression/gzip | IIsCompressionScheme |
The following table lists additional information required only for code that uses the IIS Admin Base Object.
| Metabase identifier | MD_HC_ON_DEMAND_COMP_LEVEL |
| Data type | DWORD |
| User type | IIS_MD_UT_SERVER |
Related Topics
| HcDynamicCompressionLevel |