JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript
photo of Stephen Chapman

Stephen's JavaScript Blog

By Stephen Chapman, About.com Guide to JavaScript since 2004

Script Libraries from Google

Monday December 29, 2008
Many of the script libraries that can be used with JavaScript suffer from the problem of being huge and taking a long time to download.

If you are going to use one of the more common script libraries then you can overcome the problem of it taking a long time for it to download by using a copy of the library that your visitor has already downloaded. The way to do that is for everyone to reference the library from a common repository rather than everyone using their own copy. Google make some of the most commonly used script libraries available from their site and if everyone using those libraries accesses that copy then many of your visitors will already have a copy of the library from other sites they have already visited.

Script Libraries from Google

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss

Community Forum

Explore JavaScript

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.