ASP CacheControlProperty
Complete Response Object Reference Manual
The CacheControl property sets whether a proxy server can cache the output generated by ASP. By default, proxy servers will not keep cached copies.
Syntax
response.CacheControl[=control_header]
| Parameters | Description |
|---|---|
| control_header | The cache control header, which can be set to "Public" or "Private". Private is the default. Only a private cache can cache this page. If set to this, proxy servers will not cache the page. Public indicates a public cache. If set to this, proxy servers will cache the page. |
Example
<%response.CacheControl="Public"%>
Alternatively:
<%response.CacheControl="Private"%>
Alternatively:
<%response.CacheControl="Private"%>
Complete Response Object Reference Manual Other Extensions