ASP CacheControl Property
❮ Referência Completa do Objeto de Resposta
A propriedade CacheControl define se um servidor proxy pode armazenar em cache a saída gerada pelo ASP ou não. Por padrão, um servidor proxy não manterá uma cópia em cache.
Sintaxe
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. |
Exemplos
<%response.CacheControl="Public"%>
or
<%response.CacheControl="Private"%>
❮ Referência Completa do Objeto de Resposta