Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 749
Christophe Debove Avatar asked Sep 26 '26 20:09

Christophe Debove


1 Answers

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.

like image 119
Brownman98 Avatar answered Sep 29 '26 09:09

Brownman98



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!