Vlastnost ASP CacheControl


❮ Dokončete referenci objektu odezvy

Vlastnost CacheControl nastavuje, zda může proxy server ukládat výstup generovaný ASP do mezipaměti nebo ne. Ve výchozím nastavení proxy server neuchová kopii mezipaměti.


Syntax

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.


Příklady

<%response.CacheControl="Public"%>

or

<%response.CacheControl="Private"%>

❮ Dokončete referenci objektu odezvy