in ASP.NET, If I use:
$<%@OutputCache Duration="3" VaryByParam="*" %>
or
Cache.Insert("Names", mydataset);
Does this store the cache on the browser or the server? I know they’re two different methods for caching and there are probably several more but I’m trying to find out when the cache is stored on the client browser or on the server and where can I find the pros and cons between cache being store on either of them.
This:
May be cached at both, the server or the client because by default the
Locationvalue of theOutputCachedirective isAny. See here for reference.Now, this:
Will be cached on the server side in the application Cache.