当前位置: 首页 > 网络学院 > 服务端脚本教程 > ASP > ASP CacheControl 属性
The CacheControl property sets whether a proxy server can cache the output generated by ASP or not. By default, a proxy server will not keep a cache copy.
CacheControl(缓存空间)属性的作用是指定代理服务器是否对ASP产生的结果进行缓存;默认情况下是不执行缓存命令。
response.CacheControl[=control_header] |
Parameter 参数 | Description 描述 |
---|---|
control_header | A cache control header that can be set to "Public" or "Private". 缓存控件的抬头可以设置为“Public(公用)”或“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. |
<%response.CacheControl="Public"%> or <%response.CacheControl="Private"%> |