Posted on: 11/10/2012 12:55:05 AM | Views : 429

I noticed there are 3 types of caashing:
1)Page Level Caching (called Output Caching) 
2)Page Fragment Caching (called Partial-Page Output Caching) 
3)Programmatic or Data Caching (called Application Caching) 
But I dont understand their differences and I could not find any clear explanation with simple example codes.
All I know is we can define page level cache by the follwoing line:
<%@ OutputCache Duration="10" VaryByParam="*"%>
So it does not hit the server less than 10 seconds.
Also I guess Page Fragment is the same code but with VarByControl:
<%@ OutputCache Duration="10" VaryByParam="ID" VaryByControl="Label1"%>
Is that right? Does it mean that the value of Label 1 is cached for 10seconds?
And what is the last one (Programmatic or Data Caching (called Application Caching) ).
If y ...

Go to the complete details ...