Response object is used to programmatically configure page output caching. - Caching pages and data

Q.  You need to programmatically configure page output caching. Which object would you use?
- Published on 27 Jul 15

a. Request
b. Response
c. Application
d. Server

ANSWER: Response
 

    Discussion

  • ramesh   -Posted on 24 Sep 15
    Response object is used to programmatically configure page output caching.
    Example:
    Response.Cache.SetLastModified(DateTime.Now);

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.)