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

Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional

Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional

Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional