HttpExpires

This metabase property specifies the expiration of HTML document content by returning the value to the browser in the HTML file header. The browser compares the value of this property with the current date to determine whether to display a cached page or to request an updated page from the server. This property can be made relative, or dynamic, by using the format D,#SecondsUntilExpiration (with 0xFFFFFFFF indicating no expiration date). It can also be absolute, with the format S,ValidGMTString.

Data type String
Default value D,0xFFFFFFFF (No expiration)
Inheritance Inheritable

Access Locations

This property is accessible at the following locations:

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

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_HTTP_EXPIRES
Data type STRING_METADATA
User type IIS_MD_UT_FILE