Christophe Debove
Christophe Debove

Reputation: 6296

HttpContext.Current.Cache performance

I'm on IIS6 > ASP .NET > C# > WebService

I have to put in Cache a lot of data (thousands of serialized object of about 2MB each). How does IIS6 manage HttpContext.Current.Cache - does it save in RAM or temp file? Can I compress data before caching? What are the alternatives of HttpContext.Current.Cache?

Upvotes: 3

Views: 1092

Answers (1)

Brownman98
Brownman98

Reputation: 1065

By default it is saved in RAM. If you have saving that large amount of data you should think about saving it in a database.

Upvotes: 2

Related Questions