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

446 Views Asked by At

It is my understand that the ASP.NET Cache is part of the w3wp process, meaning writing to and reading from it

  • does not cross process boundaries
  • does not require marshalling
  • does not require or perform serialization of objects placed in it

(All in comparison to using ASP.NET Session State Server which does all these things)

Is this correct?

1

There are 1 best solutions below

0
On BEST ANSWER

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

It should not cross process boundaries, it will be a disaster if it does. That goes for marshalling too.