HcDoDiskSpaceLimiting

This metabase property allows you to limit the amount of disk space that compressed files (stored in the compression directory specified by HcCompressionDirectory) can occupy. If this property is set to TRUE, IIS will not occupy more than the number of bytes specified by HcMaxDiskSpaceUsage with compressed files. Once the limit is reached, compressed files are removed from the compression directory on a least-recently used (LRU) basis. If HcDoDiskSpaceLimiting is set to FALSE, IIS enforces no limit on the amount of disk space that the files in the compression directory can occupy.

Tip   Limiting the use of disk space has a significant impact on performance because additional overhead is required to check for the limit. Use this feature only if it is necessary.

HcDoDiskSpaceLimiting is relevant only if you have set the property HcDoOnDemandCompression to TRUE.

Data type Boolean
Default value FALSE
Inheritance Not inheritable

Access Locations

This property is accessible at the following location:

Metabase Path Key Type
/LM/W3SVC/Filters/Compression/Parameters IIsCompressionSchemes

IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier MD_HC_DO_DISK_SPACE_LIMITING
Data type DWORD_METADATA
User type IIS_MD_UT_SERVER