Specifying the Cache Location
You can use the Location attribute of the <%@ OutputCache %> directive to specify where a page is cached. This attribute accepts the following values:
• Any—
The page is cached on the browser, proxy servers, and web server (the default value).
• Client—
The page is cached only on the browser.
• Downstream—
The page is cached on the browser and any proxy servers, but not the web server.
• None—
The page is not cached.
• Server—
The page is cached on the web server, but not the browser or any proxy servers.
• ServerAndClient—
The page is cached on the browser and web server, but not on any proxy servers.
By default, when you use Page Output Caching, a page is cached in three locations: the web server, any proxy servers, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access