Partager via


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.

ms525912.alert_caution(en-us,VS.90).gifImportant 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

ADSI/WMI Data Type

BOOL

ABO Data Type

DWORD_METADATA

Schema Default

TRUE

Internal Default

FALSE

Upper Bound

0

Lower Bound

Not specified

Internal ID

2220

Friendly ID

MD_HC_SEND_CACHE_HEADERS

Property Attributes

NO_ATTRIBUTES

User Type

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

See Also