ASP CacheControl Özelliği
❮ Komple Yanıt Nesnesi Referansı
CacheControl özelliği, bir proxy sunucusunun ASP tarafından oluşturulan çıktıyı önbelleğe alıp alamayacağını belirler. Varsayılan olarak, bir proxy sunucusu bir önbellek kopyasını tutmaz.
Sözdizimi
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. |
Örnekler
<%response.CacheControl="Public"%>
or
<%response.CacheControl="Private"%>
❮ Komple Yanıt Nesnesi Referansı