How to cache authenticated page?
Stephen Walther suggests not to cache authorize page (http://stephenwalther.com/blog/archive/2008/08/29/asp-net-mvc-tip-40-don-t-cache-pages-that-require-authentication.aspx) , but every page I have need the built-in Authorize() filter for easy integration.
I have tested both Authorize() and the CacheFilter in the same controller and indeed I can see the other users role account . How can I have the Authorize() and the Cachefilter in the same controller then?
The Cachefilter can be found here (http://weblogs.asp.net/rashid/archive/2008/03/28/asp-net-mvc-action-filter-caching-and-compression.aspx).
View Complete Post