HcSendCacheHeaders
The HcSendCacheHeaders property specifies whether the headers specified by HcCacheControlHeader and HcExpiresHeader are sent with each compressed response. If this property is set to true, Cache-Control and Expires headers are sent with all compressed responses. If this property is set to false, however, only the HTTP 1.1 Vary header is sent.
Important Note: |
---|
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, you should also set HcNoCompressionForProxies and HcNoCompressionForHttp10 to true. |
Schema Attributes
Attribute Name |
Value |
---|---|
BOOL |
|
DWORD_METADATA |
|
TRUE |
|
FALSE |
|
0 |
|
Not specified |
|
2220 |
|
MD_HC_SEND_CACHE_HEADERS |
|
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