The ASP. NET cache is a caching technology, however, we can also use other caching techniques in the ASP, and these different caches have their own strengths. Because the ASP does not provide external access, it is not possible to replace the distributed cache technology represented by Mecache, but it is more efficient than distributed caching because it does not require cross-process access, and if the ASP. NET cache is designed as a first-level cache, The distributed cache is designed to be a level two cache, just like the CPU cache, so you can take advantage of both to achieve faster functionality and speed. in fact, the cache is not a well-defined, a static variable is also a cache, a static collection is also a cache container, this cache compared with the ASP. NET, the static variable will obviously access faster, If the static collection is not poorly designed, concurrency conflicts may be smaller than the ASP. NET cache, and because of this, the static collection is also widely used. However, some of the advanced features of the ASP. NET cache, such as expiration time, cache dependencies (including file dependencies), removal of notifications, and the static collection, are not available, so it makes the program more powerful by using them properly at the same time.
From for notes (Wiz)
Asp. net-Cache Basic Knowledge points