Share via


HcMinFileSizeForComp Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

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 Name Attribute 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 Path IIS Admin Object Type

/LM/W3SVC/Filters/Compression/Parameters

IIsCompressionSchemes

Code Example

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