By tuupola
via googleajaxsearchapi.blogspot.com
Published: May 27 2008 / 18:40
Google will host Ajax libraries such as jQuery, prototype, script.aculo.us, MooTools and dojo.
![]() | |
| HTML5 Canvas | |
| Written by: Simon Sarris | |
| Featured Refcardz: Top Refcardz: | |
| 150+ Refcardz Available · Get them all | |
By tuupola
via googleajaxsearchapi.blogspot.com
Published: May 27 2008 / 18:40
Comments
kenman replied ago:
This is pretty ambitious, but I like it.
jtheory replied ago:
Excellent idea which has been floating around for awhile; Google's probably the right corporation to implement it. It's not even "ambitious", since the traffic won't be very heavy -- they've set up the cache headers to instruct browsers to use the local copy for the next year... so even if you visit thousands of sites using X JS library, Y version, you should only actually hit Google for it once.
On the other hand, I may avoid the JS API they offer to add some features to loading (wildcard versions, on-load callbacks), because THAT script is not cached, so will be loaded on every page (from what I can tell from the HTTP headers)... and I dread the google-analytics effect where your page load is stopped while a separate URL is resolved, connected, and returned... the size is tiny, but latency still gets ugly sometimes.
Fortunately, it's super easy to simply link the google-hosted JS lib directly.
Tantalus replied ago:
No Mochikit makes me sad.
Voters For This Link (25)
Voters Against This Link (0)