HcCompressionDirectory
The HcCompressionDirectory 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 requested static file.
To force IIS to recompress all outgoing static files, delete all files found in the compression directory specified by HcCompressionDirectory.
Important Note: |
---|
It is strongly recommended that the directory specified by HcCompressionDirectory reside on an NTFS file system 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 HTTP compression on that file. This behavior is due to a number of differences between FAT and NTFS volumes, such as time stamping and access control mechanisms. In addition, NTFS handles directories that contain a large number of files more efficiently than FAT volumes do. |
Schema Attributes
Attribute Name |
Value |
---|---|
EXPANDSZ |
|
EXPANDSZ_METADATA |
|
%Windir%\IIS Temporary Compressed Files |
|
%windir%\IIS Temporary Compressed Files |
|
Not specified |
|
Not specified |
|
2210 |
|
MD_HC_COMPRESSION_DIRECTORY |
|
NO_ATTRIBUTES |
|
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