Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
How can you cache different version of same page using ASP.NET cache object ?
.NET INTERVIEW QUESTIONS - How can you cache different version of same page using ASP.NET cache object ?
✍: Guest
Output cache functionality is achieved by using “OutputCache” attribute on ASP.NET page header.
The syntax is as follows:-
<%@ OutputCache Duration="20" Location="Server"
VaryByParam="state"
VaryByCustom="minorversion" VaryByHeader="Accept-Language"%>
* VaryByParam :- Caches different version depending on input parameters send through HTTP POST/GET.
* VaryByHeader:- Caches different version depending on the contents of the page header.
* VaryByCustom:-Lets you customize the way the cache handles page variations by declaring the attribute and overriding the GetVaryByCustomString handler.
* VaryByControl:-Caches different versions of a user control based on the value of properties of ASP objects in the control.
2009-05-19, 5245👍, 0💬
Popular Posts:
How To Call a Sub Procedure? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions To...
Can you please post OpenLink Endur related FAQ's,tutorials,document s.Thanks
Regarding C Coding Given: Line in file Contents 30 int * someIDs, theFirst, *r; 110 someIDs =GetSome...
How To Create an Add-to-Google-Reader Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS ...
What is the difference between delegate and events? ã Actually events use delegates in bottom. But ...