TAILIEUCHUNG - mcts 70-562 Microsoft .NET Framework 3.5, ASP.NET Application Development phần 10

bộ nhớ đệm lưu trữ dữ liệu thường xuyên truy cập hoặc các trang web toàn bộ trong bộ nhớ nơi họ có thể được lấy ra nhanh hơn chúng có thể được từ một tập tin hoặc cơ sở dữ liệu. Điều này giúp cải thiện hiệu suất và tăng khả năng mở rộng | Lesson 2 Using Caching to Improve Performance caching stores frequently accessed data or whole Web pages in memory where they can be retrieved faster than they could be from a file or database. This helps to improve performance and increase scalability in terms of number of users serviced of a Web application. As an example if you have a product catalog in an e-commerce application you might consider putting a lot of the catalog data into cache. Data that changes infrequently and is accessed by a lot of users is a good candidate for caching. The first access of this data would load it into the cache subsequent requests would be served from the cache until the cache expires. and the .NET Framework enable you to take advantage of caching without requiring you to write a lot of code to deal with the complexities of caching such as cache expiration updates and memory management. There are two different types of caching in ASP. NET Application caching This represents a collection that can store any object in memory and automatically remove the object based on memory limitations time limits or other dependencies. Page output caching This is s ability to store a rendered page portion of a page or version of a page in memory to reduce the time required to render the page in future requests. This lesson covers both application caching and page output caching. f--------------------------------------------------------------------------------- After this lesson you will be able to Use application caching to store frequently accessed data that is expensive to obtain. Use page output caching to improve the response time of page requests. Estimated lesson time 40 minutes __ Application Caching Application caching also called application data caching is the process of storing data and not pages in a cache object. The cache object is available as a property of the Page object. It .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.