This metabase property allows you to specify the minimum number of bytes a file must contain for it to be compressed using on-demand compression. Very small files do not compress well, and in some cases compression may even make the file larger than it was initially.
If HcMinFileSizeForComp is set to 0, all files will be compressed.
Data type | Long |
Default value | 256 bytes |
Inheritance | Not inheritable |
This property is accessible at the following location:
Metabase Path | Key Type |
/LM/W3SVC/Filters/Compression/Parameters | IIsCompressionSchemes |
The following table lists additional information required only for code that uses the IIS Admin Base Object.
Metabase identifier | MD_HC_MIN_FILE_SIZE_FOR_COMP |
Data type | DWORD_METADATA |
User type | IIS_MD_UT_SERVER |