Question:-
How can you cache different version of same page using cache in ASP.NET?
Answer:-
Output cache functionality is achieved by using “OutputCache” attribute on ASP.NET page header. It uses following parameters –
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.
Students (2)
Ask
Amit
Ask
Anil
Recommended Classes
Anil Bist
I started my Professional Journey in 2006 with one of the Web Development Company in Bangalore an...
Professional
shweta Pandey
Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional
shweta Pandey
Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional