Google AJAX Libraries API (googleapis.com Hosts Your Favorite Library)

| No TrackBacks
While doing a little research last night on QNX, I stumbled across Google's AJAX Library API on Google Code.  Interestingly enough, Google's AJAX API hosts a cached, compressed copy of Prototype and other JS libraries on its high-speed content distribution network.  Supposedly, instead of sourcing a JavaScript library locally on your server, you can use Google's cached copy.  Most notably, change.gov appears to be taking this approach with JQuery.

Instead of:
<script type="text/javascript" src="http://my.server.com/jquery.min.js"></script>

Try:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>

Too bad Google doesn't host the packed version, though.

Did You Find this Helpful?

Did you find this post helpful, or at least, interesting?

  

About Mark

A Silicon Valley native, Mark Kolich is a full-time Software Engineer and a consultant for hire. A web technologies expert, his current focus is on building powerful and robust cloud-driven web-applications using Java, PHP, Perl, AJAX, DHTML, CSS, and JavaScript. His favorite programming languages are PHP, Java and JavaScript. He uses Linux, enjoys biking to work, loves building great software, and always writes elegant, readable, and maintainable code.

No TrackBacks

No trackbacks attached to this entry.

Twitter (@markkolich)

Translate

About this Entry

This page contains a single entry by Mark Kolich published on November 7, 2008 8:25 AM.

HOWTO: Use the banner (banner.c) Command To Create Login Banners was the previous entry in this blog.

HOWTO: Convert Videos to Flash Video (.flv) and Play On Your Site is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.