Location page is cached when you use Page Output Caching

Q.  By default, when you use Page Output Caching, at what location page is cached?
- Published on 27 Jul 15

a. Only on web server
b. Only on Client
c. Web server, any proxy servers, and browser
d. All of the above.

ANSWER: Web server, any proxy servers, and browser
 

    Discussion

  • ramesh   -Posted on 24 Sep 15
    If you are using Page Output Caching By default, a page is cached in three locations: web server, any proxy servers, and browser.
    Location attribute is used in <%@ OutputCache %> directive to specify where a
    page is cached. This attribute has the following values:
    • Any
    • Client
    • Downstream
    • None
    • Server
    • ServerAndClient

    Example:
    < %@ OutputCache Duration=”4000” VaryByParam=”none” Location=”Client” %>
    The page is cached only on the browser.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)