I am trying to use the OutputCache
attribute in my MVC app and it doesn\'t appear to work when I use OutputCacheLocation.Client
:
pu
If you hit F5 you are evicting the client cache. The way client cache is supposed to work is that you have links on the site pointing to the Client
action from some other views and when the user clicks on those links the cached version will get served (assuming of course he does that in the interval for which the page is cached).