Freigeben über


HcExpiresHeader

The HcExpiresHeader 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 do not attempt to cache compressed files.

Neither the header specified by HcCacheControlHeader, nor the header specified by HcExpiresHeader, is sent with the response if the metabase property HcSendCacheHeaders is set to false.

The World Wide Web Publishing Service (WWW service) must be restarted before any changes to this property take effect.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

STRING

ABO Data Type

STRING_METADATA

Schema Default

Not specified.

Internal Default

Not specified.

Upper Bound

Not specified

Lower Bound

Not specified

Internal ID

2212

Friendly ID

MD_HC_EXPIRES_HEADER

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