ASP CacheControl property
Are CacheControl property is set to a proxy server can cache the output generated by the ASP. By default, the proxy server does not maintain a cached copy.
grammar
response.CacheControl[=control_header]
参数 | 描述 |
---|---|
control_header | 缓存的 control header ,可被设置为 "Public" 或 "Private"。
Private 是默认的,仅有私人缓存可以缓存此页。如果为此设置,代理服务器就不会缓存页面。 Public 指示公共缓存。如果为此设置,代理服务器会缓存页面。 |
Examples
<%response.CacheControl="Public"%>
或者:
<%response.CacheControl="Private"%>
或者:
<%response.CacheControl="Private"%>
Complete Response Object Reference