Show with an example how to Cache different version of same page using ASP.NET Cache object.The ways to cache different versions on the same page using ASP.NET cache object is using OutputCache object.
Parameters of OutputCache:
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.
|