Use the OutputCache page directive to cache a web form in the server’s memory
This directive’s Duration attribute controls how long the page is cached
@ OutputCache Duration=”60” VaryByParam=”None” %
The first time any user requests this web form, the server loads the response in memory, and retains the response for 60 seconds
Any subsequent requests during that time recieve the cached response
On expiry, a new response is generated for next 60 seconds
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment