MD_HTTP_EXPIRES

This identifier specifies when an HTML document expires. If a document is accessed by a browser, and the browser, using the value of this identifier, determines that the object has expired, the browser should request an update from the server instead of displaying the cached version of the document.

The expiration time may be set statically or dynamically. If the value is marked as dynamic, the expiration date passed to the client with an HTML document is the current time plus the number of seconds specified. If the value is marked as static, a specific and absolute time and date are passed to the client as an expiration date. If the numeric portion of the value of this identifier is 0xFFFFFFFF, the HTML document never expires. The string format is D,SecondsUntilExpiration for dynamic expiration, or S,ValidGMTTime for an static expiration date.

Attributes

Data type STRING
Default inheritance Inheritable
User type IIS_MD_UT_FILE

Values

Default Value
D, 0xFFFFFFFF (Never expires)

Metabase Keys

This identifier is available at the following metabase keys:

Metabase Path Key Type
/LM/W3SVC IIsWebService
/LM/W3SVC/n IIsWebServer
/LM/W3SVC/n/ROOT IIsWebVirtualDir
/LM/W3SVC/n/ROOT/WebVirtualDir IIsWebVirtualDir
/LM/W3SVC/n/ROOT/WebVirtualDir/WebDirectory IIsWebDirectory
/LM/W3SVC/n/ROOT/WebVirtualDir/WebDirectory/WebFile IIsWebFile

See Also

HttpExpires