Proprietà ASP CacheControl


❮ Riferimento completo all'oggetto di risposta

La proprietà CacheControl imposta se un server proxy può memorizzare nella cache l'output generato da ASP o meno. Per impostazione predefinita, un server proxy non manterrà una copia cache.


Sintassi

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.


Esempi

<%response.CacheControl="Public"%>

or

<%response.CacheControl="Private"%>

❮ Riferimento completo all'oggetto di risposta