October 2010
Intermediate to advanced
1920 pages
73h 55m
English
If you need more control over how ASP.NET Framework caches pages, then you can work directly with the HttpCachePolicy class. This class is exposed by the Response.Cache property.
The HttpCachePolicy class includes properties and methods that enable you to perform programmatically all the tasks that you can perform with the <%@ OutputCache %> directive. You also can use the methods of this class to manipulate the HTTP cache headers that are sent to proxy servers and browsers.
This class supports the following properties:
• VaryByHeaders—
Gets the list of headers that are used to vary cache output.
• VaryByParams—
Gets the list of query string and form parameters used to vary cache output.
Read now
Unlock full access