Interview answers verified by specialists.
Find interview questions and answers on this website:
The ways to cache different versions on the same page using ASP.NET cache object is using OutputCache object. Three parameters of OutputCache, has 3 parameters: • VarByParam:based on input parameters passed through HTTP POST/GET. • VarByHeader:based on the page header content. • VayByCustom:based on declaration of an attribute and overriding GetVaryByCustomString handler. • VarByControl:varies with the value of properties of ASP objects.