HcCacheControlHeader

This metabase property specifies the directive that IIS will add to the Cache-Control header. This header, along with the Expires header specified by HcExpiresHeader, is sent with every compressed file that is sent to a client browser.

This property specifies a header that overrides the HTTP Expires header specified by HcExpiresHeader, and is included to ensure that older clients and proxy servers will not attempt to cache compressed files.

Neither the header specified by HcCacheControlHeader nor the header specified by HcExpiresHeader will be sent with the response if the metabase property HcSendCacheHeaders is set to FALSE.

The Web service must be restarted before any changes to this property take effect.

Data type String
Default value max-age=86400
Inheritance Not inheritable

Access Locations

This property is accessible at the following locations:

Metabase Path Key Type
/LM/W3SVC/Filters/Compression/Parameters IIsCompressionSchemes

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_CACHE_CONTROL_HEADER
User type IIS_MD_UT_SERVER