[This is preliminary documentation and subject to change]

HcSendCacheHeaders

This metabase property specifies whether the headers specified by HcCacheControlHeader and HcExpiresHeader will be sent with each compressed response. If this property is set to TRUE, Cache-Control and Expires headers will be sent with all compressed responses. If this property is set to FALSE, however, only the HTTP 1.1 Vary header will be sent.

important Important    In general, the Cache-Control and Expires HTTP headers are included with compressed responses to prevent inappropriate caching of compressed files, especially by proxy servers and older browsers. If you choose to disable these headers, it is recommended that you also set HcNoCompressionForProxies and HcNoCompressionForHttp10 to TRUE.

Attribute NameAttribute Value
Data TypeBOOL
AttributesNO_ATTRIBUTES
Default ValueTRUE
MetaFlagsExCACHE_PROPERTY_MODIFIED
User TypeIIS_MD_UT_SERVER
StartingNumber
EndingNumber0
ID2220

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_SEND_CACHE_HEADERS
Data typeBOOL
User typeIIS_MD_UT_SERVER

© 1997-2001 Microsoft Corporation. All rights reserved.