Properti ASP CacheControl
Properti CacheControl yang diatur ke server proxy dapat cache output yang dihasilkan oleh ASP. Secara default, server proxy tidak menjaga salinan cache.
tatabahasa
response.CacheControl[=control_header]
参数 | 描述 |
---|---|
control_header | 缓存的 control header ,可被设置为 "Public" 或 "Private"。
Private 是默认的,仅有私人缓存可以缓存此页。如果为此设置,代理服务器就不会缓存页面。 Public 指示公共缓存。如果为此设置,代理服务器会缓存页面。 |
contoh
<%response.CacheControl="Public"%>
或者:
<%response.CacheControl="Private"%>
或者:
<%response.CacheControl="Private"%>
Lengkap Response Referensi Obyek