[This is preliminary documentation and subject to change]

HcCompressionDirectory

This metabase property specifies the directory where compressed versions of static files are temporarily cached. If compression is enabled for IIS, every time IIS receives a request for a static file (such as an .htm or .txt file), the server searches the compression directory for an already-compressed version of the static file being requested.

To force IIS to recompress all outgoing static files, erase all files found in the compression directory specified by HcCompressionDirectory.

important Important    It is strongly recommended that the directory specified by HcCompressionDirectory reside on an NTFS volume, not on a FAT volume. If the file being requested resides on an NTFS volume, and you have set HcCompressionDirectory to specify a FAT volume, IIS will not perform any HTTP compression on that file. This behavior is due to a number of differences between FAT and NTFS volumes, including different time stamping and access control mechanisms. In addition, NTFS handles directories that contain a large number of files more efficiently than FAT volumes do.

Attribute NameAttribute Value
Data TypeEXPANDSZ
AttributesNO_ATTRIBUTES
Default Value%Windir%\IIS Temporary Compressed Files
MetaFlagsExCACHE_PROPERTY_MODIFIED
User TypeIIS_MD_UT_SERVER
StartingNumber
EndingNumber
ID2210

Access Locations

This property is accessible at the following locations:

Metabase PathIIS Admin Object Type

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_COMPRESSION_DIRECTORY
Data typeEXPANDSZ
User typeIIS_MD_UT_SERVER

Related Topics

HcDoOnDemandCompression

© 1997-2001 Microsoft Corporation. All rights reserved.