简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM