Partager via


HcDoDiskSpaceLimiting

The HcDoDiskSpaceLimiting allows you to limit the amount of disk space that all compressed files, which are stored in the compression directory specified by HcCompressionDirectory can occupy. If HcDoDiskSpaceLimiting is set to true, IIS will not allow compressed files to occupy more than the number of bytes specified by HcMaxDiskSpaceUsage. Once the limit is reached, compressed files are removed from the compression directory on an LRU (least-recently) basis. If HcDoDiskSpaceLimiting is set to false, no limit is enforced on the amount of disk space that the files in the compression directory can occupy.

Note

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 when you lack adequate disk space to cache all content files on your Web server.

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

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

BOOL

ABO Data Type

DWORD_METADATA

Schema Default

FALSE

Internal Default

FALSE

Upper Bound

0

Lower Bound

Not specified

Internal ID

2216

Friendly ID

MD_HC_DO_DISK_SPACE_LIMITING

Property Attributes

NO_ATTRIBUTES

User Type

IIS_MD_UT_SERVER

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

Flags

There are no flags for this property.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also