Hi,
while implementing caching we have following properties for caching location.
Any, Client,Downstream, Server, None, or ServerAndClient. which we can specify in
[OutputCache(Duration=3600, VaryByParam="none", Location=OutputCacheLocation.Client, NoStore=true)]
public string GetName()
{
return "Hi " + User.Identity.Name;
}
if we dont specify any location, by default, the Location property of OutputCache is
Any.
My question is when location is
Any, how dot net decides where to store cached value means client or server,how it is decided and which location takes preference?