May 2004
Intermediate to advanced
888 pages
22h 31m
English
This section discusses how caching works in ASP.NET applications. There are primarily three forms of caching. These are page caching, page fragment caching, and data caching.
Page caching is the process of persisting an entire page on the server, proxy server, or the client browser so that the next time it is retrieved, it does not have to be generated by ASP.NET.
Page caching is enabled by including the directive in bold (line 2) in the .aspx file shown in Listing 33.1.
1: <%@ Page language="c#" Debug="true" Codebehind="WebForm1.pas" AutoEventWireup="false" Inherits="WebForm1.TWebForm1" %>
2: <%@ OutputCache ... |
Read now
Unlock full access