ASP CacheControl Attribute

response object reference manual

The CacheControl attribute sets whether the output generated by ASP can be cached. By default, the proxy server will not keep a cached copy.

Syntax:

response.CacheControl[=control_header]
Parameter Description
control_header

The cached control header, which can be set to "Public" or "Private".

Private is the default, only private cache can cache this page. If this setting is enabled, the proxy server will not cache the page.

Public indicates public caching. If this setting is enabled, proxy servers will cache the page.

Example

<%response.CacheControl="Public"%>

Or:

<%response.CacheControl="Private"%>

response object reference manual