PROPERTY:  Response.CacheControl

The CacheControl property allows a proxy server to cache an Actice Server Page. A proxy server is used to speed up the retrieval of a web page by keeping a local copy of the web page in a cache.

The CacheControl property can only be set equal to "Public" or "Private". The pair of double quotes are required.

If the CacheControl property is set equal to "Public", then caching can occur.

If the CacheControl property is set equal to "Private", then caching cannot occur. By default, a proxy server will not keep a cache copy.

You can use Response.Expires and Response.ExpiresAbsolute to set a time and/or date limit on the existence of the cache.

<% Response.CacheControl = "Public" %>
<% Response.CacheControl = "Private" %>
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information