HcMinFileSizeForComp Metabase Property (IIS 6.0)

The HcMinFileSizeForComp 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 (zero), all files are compressed.

Attribute NameAttribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_HC_MIN_FILE_SIZE_FOR_COMP

Attributes

NO_ATTRIBUTES

Default Value

256

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

2226

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase PathIIS Admin Object Type

/LM/W3SVC/Filters/Compression/Parameters

IIsCompressionSchemes

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.



© 2015 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies
Microsoft