The obvious benefit is reducing redundancy in a user's browsers cache — not having an individual copy for every site that implements a lightbox would be nice. But Google is also offering some other sweeteners as well:
- Minimal file size: as well as gzipping the library, Google will minify it too. That means no comments and verbose variable naming has been stripped down within the library, all in an effort to lower the traffic served up
- Distributed serving: by serving from Google servers, chances are that users can get the file for a server closer to them than whenever your server is, especially useful for international users.
- Automated updating: easily serving up the latest library may be risky in major version bumps, but for a security update it would be a major boon to have the latest library automagically updated for you.
Further details on the launch of Google AJAX Libraries API (GALA anyone?) available here.
Below is the video explanation:
Some would say that it is a long way from software engineering to journalism, others would correctly argue that it is a mere 10 metres according to the floor plan.During his first five years with CBS Interactive, Chris started his journalistic adventure in 2006 as the Editor of Builder AU after originally joining the company as a programmer.Leaving CBS Interactive in 2010 to follow his deep desire to study the snowdrifts and culinary delights of Canada, Chris based himself in Vancouver and paid for his new snowboarding and poutine cravings as a programmer for a lifestyle gaming startup.Chris returns to CBS in 2011 as the Editor of TechRepublic Australia determined to meld together his programming and journalistic tendencies once and for all.In his free time, Chris is often seen yelling at different operating systems for their own unique failures, avoiding the dreaded tech support calls from relatives, and conducting extensive studies of internets — he claims he once read an entire one.