<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.7" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Why is Google hosting common Javascript/AJAX Libraries?</title>
	<link>http://www.johnon.com/647/google-ajax-api.html</link>
	<description>I think there's an opinion on that subject lying around here somewhere....</description>
	<pubDate>Wed, 08 Feb 2012 20:01:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.7</generator>

	<item>
		<title>by: Emiliano Jordan</title>
		<link>http://www.johnon.com/647/google-ajax-api.html#comment-129702</link>
		<pubDate>Wed, 23 Dec 2009 01:10:20 +0000</pubDate>
		<guid>http://www.johnon.com/647/google-ajax-api.html#comment-129702</guid>
					<description>I cam across this late but I'd like to add my $.02. 

I don't understand a lot of this discussion considering Google in general. @federico, business does have golden rules and marketing, public perception, and company image are all very high on the golden rule list.  I do believe Google does do things "just" for the user without a very short term measurable ($.15 per click) value.  But the long term indirect value must be measured.

It's very short sighted to think Google would try and "slip one by" it's users in some of the methods previously posted.  It would have detrimental effects to their company.  Web developers, the source of their money, would jump ship, FAST.  They know we are the ones that use Google products, code Google Adwords for programs and sites, recommend search engines to friends, and generate "buzz." 

The other more philanthropist reason for doing this is as mentioned the over all load on the internet.  As Ben said making a significant contribution to this would require a company the size of Google.  The fact that they make so much money means that they can afford to dedicate employees to projects like this.  And why not?  

Think of the AJAX API team as an extension of the marketing department with real benefits.</description>
		<content:encoded><![CDATA[<p>I cam across this late but I&#8217;d like to add my $.02. </p>
<p>I don&#8217;t understand a lot of this discussion considering Google in general. @federico, business does have golden rules and marketing, public perception, and company image are all very high on the golden rule list.  I do believe Google does do things &#8220;just&#8221; for the user without a very short term measurable ($.15 per click) value.  But the long term indirect value must be measured.</p>
<p>It&#8217;s very short sighted to think Google would try and &#8220;slip one by&#8221; it&#8217;s users in some of the methods previously posted.  It would have detrimental effects to their company.  Web developers, the source of their money, would jump ship, FAST.  They know we are the ones that use Google products, code Google Adwords for programs and sites, recommend search engines to friends, and generate &#8220;buzz.&#8221; </p>
<p>The other more philanthropist reason for doing this is as mentioned the over all load on the internet.  As Ben said making a significant contribution to this would require a company the size of Google.  The fact that they make so much money means that they can afford to dedicate employees to projects like this.  And why not?  </p>
<p>Think of the AJAX API team as an extension of the marketing department with real benefits.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: federico</title>
		<link>http://www.johnon.com/647/google-ajax-api.html#comment-129081</link>
		<pubDate>Wed, 29 Jul 2009 16:25:51 +0000</pubDate>
		<guid>http://www.johnon.com/647/google-ajax-api.html#comment-129081</guid>
					<description>@Ben Lisbakken

Question arose...why your team sat down and brainstormed how you could solve existing problems on the web?

I mean, important question is not "Why does Google host these libraries?", instead, why google want to help us? what did they gain?

As a profit-based company they must get something in exchange. That's a business golden rule and I dont think google is the exception.

Sorry to be so distrustful but I just simply don't get it.</description>
		<content:encoded><![CDATA[<p>@Ben Lisbakken</p>
<p>Question arose&#8230;why your team sat down and brainstormed how you could solve existing problems on the web?</p>
<p>I mean, important question is not &#8220;Why does Google host these libraries?&#8221;, instead, why google want to help us? what did they gain?</p>
<p>As a profit-based company they must get something in exchange. That&#8217;s a business golden rule and I dont think google is the exception.</p>
<p>Sorry to be so distrustful but I just simply don&#8217;t get it.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Ben Lisbakken</title>
		<link>http://www.johnon.com/647/google-ajax-api.html#comment-128665</link>
		<pubDate>Sun, 08 Mar 2009 09:27:05 +0000</pubDate>
		<guid>http://www.johnon.com/647/google-ajax-api.html#comment-128665</guid>
					<description>Hi, my name is Ben Lisbakken and I'm on the AJAX Libraries team.  I see a number of questions here so let me address them.

- Why does Google host these libraries?
The AJAX Libraries API came about because our team sat down and brainstormed how we could solve existing problems on the web that can only be solved by large companies such as Google -- one of those problems is that the same bits from a few popular libraries are being grabbed millions and millions of times a day and it's unnecessary.  Google is uniquely positioned to serve large amounts of traffic from around the world at the fastest speeds so we decided that creating this API could help other sites as well as our own.

- Is Google using the referrer/IP for tracking users?
No.  The API is not a devious plot to track users. Our intention was to help speed up the web and help with some of the chaos that we see in the wild. There are still plenty of sites that are not setting correct cache headers to minimize latency and don't have the global deployment to ensure that users visiting from Europe see the same low latencies as those on the west coast of the US.

With that said, we do have logs of referrers, IPs, and user-agents. There is no user tracking, and these logs are subject to our 9 month anonymization policy (details at http://www.google.com/privacy.html). Our team uses these logs to understand the performance, adoption, and status of the system. These signals are used by us mainly for capacity planning purposes. Since we launched the API last year, we have expanded some of our operations and grown our capacity. The signals we get from these logs are directly responsible for our ability to meet the needs of the community and help ensure global, low latency access to the system.

- Why are we hosting SWFObject?
We host the most popular libraries because the caching benefits are greatest (more sites using them through Google means users are more likely to have it in their cache) and SWFObject is one of these popular libraries.

Additionally, SWFObject is hosted on our Open Source Code hosting, http://code.google.com/p.  It became a very popular library and developers started including the Javascript directly from code.google.com.  Our code hosting servers were meant to host code for development purposes, not as production servers.  We contacted the creators of SWFObject and asked them to direct users to the AJAX Libraries API which has production servers meant to handle the high load.

- Does Google insert code into the libraries?  Will they?
Absolutely not.  We refuse to make any changes, trivial or not, to any of the libraries we host.  You can verify this by downloading the libraries from us and the maintainers and do an MD5 checksum on them.
http://www.prototypejs.org/assets/2008/1/25/prototype-1.6.0.2.js
http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js

- What does the /stats request do?
Because many loads of the libraries are cached, we never see requests for them.  In order to better estimate our traffic, we use this request to inform us what has been loaded. Also, the request happens asynchronously much after the page loads so that we don't slow down the application performance.  If you don't want these requests to happen, you can include the libraries directly instead of through the loader.  The direct links are all listed here:
http://code.google.com/apis/ajaxlibs/documentation/#AjaxLibraries</description>
		<content:encoded><![CDATA[<p>Hi, my name is Ben Lisbakken and I&#8217;m on the AJAX Libraries team.  I see a number of questions here so let me address them.</p>
<p>- Why does Google host these libraries?<br />
The AJAX Libraries API came about because our team sat down and brainstormed how we could solve existing problems on the web that can only be solved by large companies such as Google &#8212; one of those problems is that the same bits from a few popular libraries are being grabbed millions and millions of times a day and it&#8217;s unnecessary.  Google is uniquely positioned to serve large amounts of traffic from around the world at the fastest speeds so we decided that creating this API could help other sites as well as our own.</p>
<p>- Is Google using the referrer/IP for tracking users?<br />
No.  The API is not a devious plot to track users. Our intention was to help speed up the web and help with some of the chaos that we see in the wild. There are still plenty of sites that are not setting correct cache headers to minimize latency and don&#8217;t have the global deployment to ensure that users visiting from Europe see the same low latencies as those on the west coast of the US.</p>
<p>With that said, we do have logs of referrers, IPs, and user-agents. There is no user tracking, and these logs are subject to our 9 month anonymization policy (details at <a href="http://www.google.com/privacy.html" >http://www.google.com/privacy.html</a>). Our team uses these logs to understand the performance, adoption, and status of the system. These signals are used by us mainly for capacity planning purposes. Since we launched the API last year, we have expanded some of our operations and grown our capacity. The signals we get from these logs are directly responsible for our ability to meet the needs of the community and help ensure global, low latency access to the system.</p>
<p>- Why are we hosting SWFObject?<br />
We host the most popular libraries because the caching benefits are greatest (more sites using them through Google means users are more likely to have it in their cache) and SWFObject is one of these popular libraries.</p>
<p>Additionally, SWFObject is hosted on our Open Source Code hosting, <a href="http://code.google.com/p." >http://code.google.com/p.</a>  It became a very popular library and developers started including the Javascript directly from code.google.com.  Our code hosting servers were meant to host code for development purposes, not as production servers.  We contacted the creators of SWFObject and asked them to direct users to the AJAX Libraries API which has production servers meant to handle the high load.</p>
<p>- Does Google insert code into the libraries?  Will they?<br />
Absolutely not.  We refuse to make any changes, trivial or not, to any of the libraries we host.  You can verify this by downloading the libraries from us and the maintainers and do an MD5 checksum on them.<br />
<a href="http://www.prototypejs.org/assets/2008/1/25/prototype-1.6.0.2.js" >http://www.prototypejs.org/assets/2008/1/25/prototype-1.6.0.2.js</a><br />
<a href="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js" >http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js</a></p>
<p>- What does the /stats request do?<br />
Because many loads of the libraries are cached, we never see requests for them.  In order to better estimate our traffic, we use this request to inform us what has been loaded. Also, the request happens asynchronously much after the page loads so that we don&#8217;t slow down the application performance.  If you don&#8217;t want these requests to happen, you can include the libraries directly instead of through the loader.  The direct links are all listed here:<br />
<a href="http://code.google.com/apis/ajaxlibs/documentation/#AjaxLibraries" >http://code.google.com/apis/ajaxlibs/documentation/#AjaxLibraries</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: James</title>
		<link>http://www.johnon.com/647/google-ajax-api.html#comment-128642</link>
		<pubDate>Wed, 04 Mar 2009 17:06:20 +0000</pubDate>
		<guid>http://www.johnon.com/647/google-ajax-api.html#comment-128642</guid>
					<description>The reason they host them is to help webmasters. Google trys to help webmasters as much as possible, to build their trust and hopefully keep them using their services.

The reason they are a good thing as a webmaster is that if many sites use these the libraries will get cached in the users browser at some point and then when he goes to another site using the google libraries he doesn't have to load them up again.</description>
		<content:encoded><![CDATA[<p>The reason they host them is to help webmasters. Google trys to help webmasters as much as possible, to build their trust and hopefully keep them using their services.</p>
<p>The reason they are a good thing as a webmaster is that if many sites use these the libraries will get cached in the users browser at some point and then when he goes to another site using the google libraries he doesn&#8217;t have to load them up again.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Chris Snyder</title>
		<link>http://www.johnon.com/647/google-ajax-api.html#comment-128638</link>
		<pubDate>Tue, 03 Mar 2009 22:35:19 +0000</pubDate>
		<guid>http://www.johnon.com/647/google-ajax-api.html#comment-128638</guid>
					<description>I'll let Yochum publish his findings re tracking, but the reason I don't use the Google hosted javascript libraries is simple: I have no reason to trust that they won't, at some point in the /indefinite/ future, inject their own code into those libs and break my apps. 

You have to admit, even without attributing any malice or power issues to Google, that their central code repository will be an attractive target to someone wishing to cause mayhem on the web.

As for why they are doing it? It's a cheap service that makes their own development efforts easier, and they get the bonus of being able to track (with more or less precision depending on the method used to include the libs) who is using what. They can focus their own efforts to provide better hooks and services to the devs who are using the big three libs.</description>
		<content:encoded><![CDATA[<p>I&#8217;ll let Yochum publish his findings re tracking, but the reason I don&#8217;t use the Google hosted javascript libraries is simple: I have no reason to trust that they won&#8217;t, at some point in the /indefinite/ future, inject their own code into those libs and break my apps. </p>
<p>You have to admit, even without attributing any malice or power issues to Google, that their central code repository will be an attractive target to someone wishing to cause mayhem on the web.</p>
<p>As for why they are doing it? It&#8217;s a cheap service that makes their own development efforts easier, and they get the bonus of being able to track (with more or less precision depending on the method used to include the libs) who is using what. They can focus their own efforts to provide better hooks and services to the devs who are using the big three libs.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

