Propriété CacheControl ASP
❮ Référence complète de l'objet de réponse
La propriété CacheControl définit si un serveur proxy peut ou non mettre en cache la sortie générée par ASP. Par défaut, un serveur proxy ne conservera pas de copie en cache.
Syntaxe
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. |
Exemples
<%response.CacheControl="Public"%>
or
<%response.CacheControl="Private"%>
❮ Référence complète de l'objet de réponse