HttpExpires
The HttpExpires property specifies the expiration of HTML document content by returning the value to the browser in the HTML file header. The browser compares the given value 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.
Schema Attributes
Attribute Name |
Value |
---|---|
STRING |
|
STRING_METADATA |
|
D, 0x15180 |
|
Not specified. |
|
Not specified |
|
Not specified |
|
6002 |
|
MD_HTTP_EXPIRES |
|
INHERIT |
|
IIS_MD_UT_FILE |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path |
IIS Admin Object Type |
---|---|
/LM/W3SVC |
IIsWebService |
/LM/W3SVC/n |
IIsWebServer |
/LM/W3SVC/n/ROOT/file_name /LM/W3SVC/n/ROOT/virtual_directory_name/file_name |
IIsWebFile |
/LM/W3SVC/n/ROOT/physical_directory_name /LM/W3SVC/n/virtual_directory_name/physical_directory_name |
IIsWebDirectory |
/LM/W3SVC/n/ROOT /LM/W3SVC/n/ROOT/virtual_directory_name |
IIsWebVirtualDir |
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