[This is preliminary documentation and subject to change]

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.

Attribute NameAttribute Value
Data TypeSTRING
AttributesNO_ATTRIBUTES
Default Valuemax-age=86400
MetaFlagsExCACHE_PROPERTY_MODIFIED
User TypeIIS_MD_UT_SERVER
StartingNumber
EndingNumber
ID2211

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_CACHE_CONTROL_HEADER
Data typeSTRING
User typeIIS_MD_UT_SERVER

© 1997-2001 Microsoft Corporation. All rights reserved.