Skip to content

Rely on Google for your Javascript?

Feb 26, 2009 1 min read #javascript #misc-web

This post is more than 18 months old. Technology changes quickly, so some of this content may be out of date (but that's not always the case). Please verify any technical or programming information against the current release.

After reviewing the Google Javascript API project, I am torn. Pro’s and cons below… What do YOU think?

PRO

  • Proper caching done

  • Shared javascript location - no need to re-download if multiple sites use same library

  • Easy to include method, can be as specific as needed for versioning (you can include major, major.minor, etc.)

CON

  • If google goes down, you go down. Well, if caching is done right that doesn’t matter. Plus I’m sure you rely on your host not to go down either…

  • If google ends the service, like they shut down other services, you have to re-architect again.

So, are YOU going to use it?