ASP.Net MVC 3.0 Attribute [OutputCache] - Is this global, or by session? -


While creating an asp.net mvc 3.0 application, I can include an output cache attribute on an action, and After the period, due to the fire due to any activity, this cached result will be rejected and refreshed.

My question is ... Is this cached output global for all user sessions or is this cache option specific? In other words for each session, if user 1 requests that one with output cache attribute If the work is set to 1 hour, its request begins at noon (12:00 pm). User2 makes a request for the same action, but at noon- (12:30 pm) Cached results will be for both users only, and if so, will the user refresh the cache output for 1: 00?

Depending on whether a user has specific parts (such as ~ / blogs / userid / 1>), then yeah, otherwise this session is not specific, depending on the ultimate basis you can fix it ...

Caching in ASP Net messaging is no different from web form, This is the only infrastructure that url-based .

Comments