Ajax Cache __ajax

Source: Internet
Author: User


Turn from: http://www.cnblogs.com/quange/archive/2009/07/24/1529958.html


Ajax cache is maintained by the browser, for a url,ajax sent to the server only on the first request with the server interaction information, after the request, Ajax no longer submit requests to the server, but directly from the cache to extract data.

We all know that Ajax can improve the speed of the page load is the main reason is to reduce the load of duplicate data through Ajax, really do on demand, in this case, we can write Ajax programs to send the Buddha to the west, in the client to do a cache, and further improve data loading speed. Which is to cache data in the browser's memory while loading the data. Once the data is loaded, as long as the page is not refreshed, the data is always cached in memory, when the user view the data again, you do not need to fetch data from the server, greatly reducing the load on the server and improve the user experience.
Another reference: http://www.cnblogs.com/yslow/archive/2009/08/28/1555777.html

Related Article

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.