I'm wondering if there are any differences between MemoryCache
and HttpRuntime.Cache
, which one is preferred in ASP.NET MVC projects?
As far as I understand, both are thread safe, API is from first sight more or less the same, so is there any difference when to use which?
See Question&Answers more detail:os