Home >Web Front-end >JS Tutorial >Use Google's Javascript API Loader to speed up your website_javascript tips
If your website uses some mainstream Ajax libraries such as JQuery or Prototype, you can directly use the Google Javascript API loader to load your ajax library.
The specific method is as follows:
Because google uses CDN (content distribution network) to send data to the client, the speed is definitely faster than your server, and the client The client browser caches content based on links, so the more websites that use the Google Javascript API loader, the greater the chance of a client cache hit.
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)