What is the difference between HttpRuntime.Cache and HttpContext.Current.Cache?
HttpRuntime.Cache
HttpContext.Current.Cache
Caching using HttpContext uses HttpRuntime.Cache to do the actual caching. The advantage of using HttpRuntime directly is that it is always available in console applications and in unit tests.