ASP CacheControl attribute

response Object Referentie Handboek

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

Syntax:

response.CacheControl[=control_header]
Parameters Description
control_header

Cached control header, can be set to "Public" or "Private".

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

Public geeft aan dat de cache openbaar is. Als deze instelling is ingesteld, zal de proxyserver de pagina cachen.

Voorbeeld

<%response.CacheControl="Public"%>

Ofwel:

<%response.CacheControl="Private"%>

response Object Referentie Handboek