HcCacheControlHeader
The HcCacheControlHeader property specifies the directive that IIS adds to the Cache-Control header. This header, along with the Expires header specified by HcExpiresHeader, is included with every compressed file that is sent to a client browser.
The HcCacheControlHeader property specifies a header that overrides the HTTP Expires header, which is specified by HcExpiresHeader, and is included to ensure 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 a response if the metabase property HcSendCacheHeaders is set to false.
The World Wide Web Publishing Service (WWW service) must be restarted before changes to this property take effect.
Schema Attributes
Attribute Name |
Value |
---|---|
STRING |
|
STRING_METADATA |
|
max-age=86400 |
|
maxage=86400 |
|
Not specified |
|
Not specified |
|
2211 |
|
MD_HC_CACHE_CONTROL_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