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

25 steps to improve your jQuery and improve efficiency by a thousand times_jquery

WBOY
Release: 2016-05-16 18:34:46
Original
896 people have browsed it

1. Load jQuery from Google Code
Google Code has hosted a variety of JavaScript libraries. Loading jQuery from Google Code is better than loading it directly from your server. More advantages. It saves bandwidth on your server and can quickly load JS libraries from Google's Content Distribution Network (CDN). More importantly, if a user visits a site published on Google Code it will be cached.
This makes sense. How many sites use the same copy of jQuery that isn't cached, and this is easy to do, introduce:

Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template