Expires

The Expires property specifies the length of time before a page cached on a browser expires. If the user returns to the same page before it expires, the cached version is displayed.

Syntax

Response.Expires [= number]

Parameters

number
The time in minutes before the page expires. Set this parameter to 0 to have the cached page expire immediately.

Remarks

If this property is set more than once on a page, the shortest time is used.

Applies To

Response Object

See Also

ExpiresAbsolute