### HcExpiresHeader

This metabase property specifies the content of the HTTP Expires header that is sent with all requested compressed files, along with the Cache-Control header discussed in HcCacheControlHeader.

The combination of HcExpiresHeader and HcCacheControlHeader ensures 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.

Data type | String
Default value | Wed, 01 Jan 1997 12:00:00 GMT
Inheritance | Not inheritable

###### Access Locations

This property is accessible at the following locations:

Metabase Path | Key Type
/LM/W3SVC/Filters/Compression/Parameters | IIsCompressionSchemes
/LM/W3SVC/Filters/Compression/Scheme | IIsCompressionScheme

###### 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_EXPIRES_HEADER
Data type | DWORD_METADATA
User type | IIS_MD_UT_SERVER

© 1997-2001 Microsoft Corporation. All rights reserved.