Asp. net-Cache Basic Knowledge points

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.