HcExpiresHeader
The HcExpiresHeader property specifies the content of the HTTP Expires header that is sent with all requested compressed files, along with the Cache-Control header discussed in HcCacheControlHeader.
The combination of HcExpiresHeader and HcCacheControlHeader ensures that older clients and proxy servers do not attempt to cache compressed files.
Neither the header specified by HcCacheControlHeader, nor the header specified by HcExpiresHeader, is sent with the response if the metabase property HcSendCacheHeaders is set to false.
The World Wide Web Publishing Service (WWW service) must be restarted before any changes to this property take effect.
Schema Attributes
Attribute Name |
Value |
---|---|
STRING |
|
STRING_METADATA |
|
Not specified. |
|
Not specified. |
|
Not specified |
|
Not specified |
|
2212 |
|
MD_HC_EXPIRES_HEADER |
|
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