Use Google's Javascript API Loader to accelerate your website

Source: Internet
Author: User

If your website uses some mainstream Ajax libraries such as JQuery or Prototype, you can directly use Google Javascript API loader to load your ajax library.
The specific method is as follows:
<Script src = "http://www.google.com/jsapi" language = "javascript"> </script> <script language = "javascript"> google. load ("prototype", "1.6 ");
</Script>
Because google uses CDN to send data to the client, the speed is certainly faster than your server, and the client browser caches content based on links, therefore, the more websites that use Google Javascript API loader, the higher the Client Cache hit rate.
Now Google's AJAX Library API supports most mainstream AJAX frameworks:
JQuery
JQuery UI
Prototype
Script. aculo. us
MooTools
Dojo
SWFObjectNew!
Yahoo! User Interface Library (YUI)

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.