Propiedad ASP CacheControl
❮ Referencia de objeto de respuesta completa
La propiedad CacheControl establece si un servidor proxy puede almacenar en caché la salida generada por ASP o no. De forma predeterminada, un servidor proxy no conservará una copia de caché.
Sintaxis
response.CacheControl[=control_header]
Parameter | Description |
---|---|
control_header | A cache control header that can be set to "Public" or
"Private".
Private is default and indicates that only private caches may cache this page. Proxy servers will not cache pages with this setting. Public indicates public caches. Proxy servers will cache pages with this setting. |
Ejemplos
<%response.CacheControl="Public"%>
or
<%response.CacheControl="Private"%>
❮ Referencia de objeto de respuesta completa