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 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.
Data type | Boolean |
Default value | TRUE |
Inheritance | Not inheritable |
This property is accessible at the following location:
Metabase Path | Key Type |
/LM/W3SVC/Filters/Compression/Parameters | IIsCompressionSchemes |
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 type | DWORD_METADATA |
User type | IIS_MD_UT_SERVER |