X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

ASP CacheControl Property


Response Object Reference Complete Response Object Reference

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.

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.

Examples

<%response.CacheControl="Public"%>

or

<%response.CacheControl="Private"%>


Response Object Reference Complete Response Object Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook