Home > Web Front-end > JS Tutorial > body text

Use Google's Javascript API Loader to speed up your website_javascript tips

WBOY
Release: 2016-05-16 18:56:41
Original
1103 people have browsed it

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)

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template