asp.net-caching

Authorization and ASP.NET MVC Caching

I'm confused on ASP.NET MVC caching and authorization and in dire need of some clarification. My self-made authorization attribute inherits from AuthorizeAttribute. It's overridden AuthorizeCore() method runs every time, even if I set an [OutputCache] directive on a controller action. I got that part. Now the mind bender for me: Author...

asp.net - deleting cache object at session end

I have a wrapper class for Caching (CachingBL) where I store users that are currently signed in (some of their session info). In CachingBL wrapper there is actually a dictionary of users, and I am putting that dictionary in cache like this: HttpContext.Current.Cache.Insert(...): At the session end I would need to access to the cache l...

how to cache css, images and js?

Hi, I would like to have images, css, and javascript cached client-side on their browser when they load up a web page. There are so many different types of caching I am confused as to which ones to use with asp.net mvc. Would it also be possible to have their browsers check for new or modified versions of these files? Thanks! ...