Frequently Asked Interview Questions

What is the use of duration attribute of @OutputCache page directive

What is the use of duration attribute of @OutputCache page directive?

The Duration parameter specifies how long, in seconds, the HTML output of the Web page should be held in the cache. When the duration expires, the cache becomes invalid and, with the next visit, the cached content is flushed, the ASP.NET Web page's HTML dynamically generated, and the cache repopulated with this HTML.


Caching FAQSASP.NET Caching Article


Most Visited Pages

Home | Site Index | Contact Us