ASP.NET - everything I stored in the Cache part of the w3wp process?

I understand the ASP.NET cache is part of the w3wp process, which means writing to and reading from it

  • not process boundaries
  • no sorting required
  • does not require or serializes the objects it contains

(This is all compared to using ASP.NET Session State Server, which does all these things)

Is it correct?

+2


source to share


1 answer


If you refer to HttpContext.Current.Cache then it will be part of the w3wp process. Caching of this form is stored in memory and does not require serialization.



He should not cross the boundaries of the process, it will be a disaster if this happens. This also applies to marshalling.

+1


source







All Articles