<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Speed Up Google Analytics with urchin.js</title>
	<atom:link href="http://www.askapache.com/google/faster-google-analytics-local-urchinjs.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.askapache.com/google/faster-google-analytics-local-urchinjs.html</link>
	<description>Advanced Web Development</description>
	<lastBuildDate>Tue, 18 Jun 2013 10:04:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: DaveA</title>
		<link>http://www.askapache.com/google/faster-google-analytics-local-urchinjs.html#comment-571</link>
		<dc:creator>DaveA</dc:creator>
		<pubDate>Wed, 09 Dec 2009 23:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-571</guid>
		<description><![CDATA[urchin.js is evil.  The more I review this with proxies, the more I hate it.]]></description>
		<content:encoded><![CDATA[<p>urchin.js is evil.  The more I review this with proxies, the more I hate it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vahur</title>
		<link>http://www.askapache.com/google/faster-google-analytics-local-urchinjs.html#comment-570</link>
		<dc:creator>vahur</dc:creator>
		<pubDate>Mon, 15 Sep 2008 12:41:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-570</guid>
		<description><![CDATA[A good (fast) idea in addition to host &lt;code&gt;ga.js&lt;/code&gt; in your own server is to &lt;strong&gt;merge multiple .js files together so that there will be less http requests&lt;/strong&gt;.
I have multiple .js files, and after editing some of them i merge multiple files together and compact the contents so that the original source remains untouched.]]></description>
		<content:encoded><![CDATA[<p>A good (fast) idea in addition to host <code>ga.js</code> in your own server is to <strong>merge multiple .js files together so that there will be less http requests</strong>.<br />
I have multiple .js files, and after editing some of them i merge multiple files together and compact the contents so that the original source remains untouched.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Majika</title>
		<link>http://www.askapache.com/google/faster-google-analytics-local-urchinjs.html#comment-569</link>
		<dc:creator>Majika</dc:creator>
		<pubDate>Sat, 26 Jan 2008 14:39:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-569</guid>
		<description><![CDATA[Hi,

First off great work, This is a bit of a n00b! question as I am crap at Cron Jobs and shell scripts all together (kinda wonder how I have a website to begin with) well anyway,

I am a bit baffeled about the &lt;pre/website/ bit in the first of your shell script examples

&lt;pre&gt;#!/bin/sh
rm /web/user/websites/askapache.com/z/j/urchin.js
cd /web/user/websites/askapache.com/z/j/
wget http://www.google-analytics.com/urchin.js
chmod 644 /web/user/websites/askapache.com/z/j/urchin.js
cd ${OLDPWD}
exit 0;&lt;/pre&gt;


I think I would fill the script out like this Please tell me if this is correct ?

&lt;pre&gt;#!/bin/sh
rm /web/sellitor/websites/site/z/j/urchin.js
cd /web/sellitor/websites/site/z/j/
wget http://www.google-analytics.com/urchin.js
chmod 644 /web/sellitor/websites/site/z/j/urchin.js
cd ${OLDPWD}
exit 0;&lt;/pre&gt;

is this correct?  or do I have to change the &#039;/websites/&#039; to one of my sub-domains whichever one I am using  Google Analytics with ?

for instance I would place &#039;/shop/&#039; in place of &#039;/websites/&#039;

Cheers,]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>First off great work, This is a bit of a n00b! question as I am crap at Cron Jobs and shell scripts all together (kinda wonder how I have a website to begin with) well anyway,</p>
<p>I am a bit baffeled about the &lt;pre/website/ bit in the first of your shell script examples</p>
<pre>#!/bin/sh
rm /web/user/websites/askapache.com/z/j/urchin.js
cd /web/user/websites/askapache.com/z/j/
wget http://www.google-analytics.com/urchin.js
chmod 644 /web/user/websites/askapache.com/z/j/urchin.js
cd ${OLDPWD}
exit 0;</pre>
<p>I think I would fill the script out like this Please tell me if this is correct ?</p>
<pre>#!/bin/sh
rm /web/sellitor/websites/site/z/j/urchin.js
cd /web/sellitor/websites/site/z/j/
wget http://www.google-analytics.com/urchin.js
chmod 644 /web/sellitor/websites/site/z/j/urchin.js
cd ${OLDPWD}
exit 0;</pre>
<p>is this correct?  or do I have to change the '/websites/' to one of my sub-domains whichever one I am using  Google Analytics with ?</p>
<p>for instance I would place '/shop/' in place of '/websites/'</p>
<p>Cheers,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AskApache</title>
		<link>http://www.askapache.com/google/faster-google-analytics-local-urchinjs.html#comment-568</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Mon, 26 Nov 2007 19:05:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-568</guid>
		<description><![CDATA[&lt;p&gt;&lt;strong&gt;@ Phillip&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Thats a very good method and will work for most people, but I personally am kinda fanatical about security, so that means each of my sites have their own username, usergroup, and are totally separated from one another, so if one falls, the others don&#039;t go like dominoes.&lt;/p&gt;]]></description>
		<content:encoded><![CDATA[<p><strong>@ Phillip</strong></p>
<p>Thats a very good method and will work for most people, but I personally am kinda fanatical about security, so that means each of my sites have their own username, usergroup, and are totally separated from one another, so if one falls, the others don't go like dominoes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phillip</title>
		<link>http://www.askapache.com/google/faster-google-analytics-local-urchinjs.html#comment-567</link>
		<dc:creator>Phillip</dc:creator>
		<pubDate>Fri, 23 Nov 2007 14:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-567</guid>
		<description><![CDATA[Neat idea on the cron job. Wouldn&#039;t it be simpler to symlink to one copy of urchin.js from all of your project directories? Then no matter how many sites you have using it, you don&#039;t have to change your shell script. I do that a lot with code that I want to share across multiple sites.  I very much dislike having to make the same change in multiple places.

Just a thought.

Peace.]]></description>
		<content:encoded><![CDATA[<p>Neat idea on the cron job. Wouldn't it be simpler to symlink to one copy of urchin.js from all of your project directories? Then no matter how many sites you have using it, you don't have to change your shell script. I do that a lot with code that I want to share across multiple sites.  I very much dislike having to make the same change in multiple places.</p>
<p>Just a thought.</p>
<p>Peace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray</title>
		<link>http://www.askapache.com/google/faster-google-analytics-local-urchinjs.html#comment-566</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Mon, 08 Oct 2007 19:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-566</guid>
		<description><![CDATA[Where is it getting the values for things like:
{OLDPWD}
and
{HOME}


Thanks]]></description>
		<content:encoded><![CDATA[<p>Where is it getting the values for things like:<br />
{OLDPWD}<br />
and<br />
{HOME}</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AskApache</title>
		<link>http://www.askapache.com/google/faster-google-analytics-local-urchinjs.html#comment-565</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Thu, 04 Oct 2007 03:12:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-565</guid>
		<description><![CDATA[&lt;p&gt;&lt;strong&gt;@ brad&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Yo, you could in fact combine urchin.js with your sites other .js file.  Check out my apache.js file to see how much you can cram into 1 file.  Once a browser goes to any page on my site 1 time, they will never have to request that file again, it is cached forever and they dont even send If-Modified or Compare E-Tags because I removed the Last-Modified and E-Tags from my .js file.  So what if I update the .js?  I just rename the .js file in my .html (which is only cached for 7200 seconds and then DOES revalidate) and presto!  My site is sooo fast!&lt;/p&gt;]]></description>
		<content:encoded><![CDATA[<p><strong>@ brad</strong></p>
<p>Yo, you could in fact combine urchin.js with your sites other .js file.  Check out my apache.js file to see how much you can cram into 1 file.  Once a browser goes to any page on my site 1 time, they will never have to request that file again, it is cached forever and they dont even send If-Modified or Compare E-Tags because I removed the Last-Modified and E-Tags from my .js file.  So what if I update the .js?  I just rename the .js file in my .html (which is only cached for 7200 seconds and then DOES revalidate) and presto!  My site is sooo fast!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AskApache</title>
		<link>http://www.askapache.com/google/faster-google-analytics-local-urchinjs.html#comment-564</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Tue, 28 Aug 2007 21:37:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-564</guid>
		<description><![CDATA[I am thrilled to learn that some genius over at &lt;a href=&quot;http://drupal.org/node/169412&quot; rel=&quot;nofollow&quot;&gt;Drupal&lt;/a&gt; has already created some really interesting code to accomplish this task in a simpler way.  Very cool, &lt;a href=&quot;http://drupal.org/files/issues/googleanalytics_cache.patch&quot; rel=&quot;nofollow&quot;&gt;check it out&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>I am thrilled to learn that some genius over at <a href="http://drupal.org/node/169412" rel="nofollow">Drupal</a> has already created some really interesting code to accomplish this task in a simpler way.  Very cool, <a href="http://drupal.org/files/issues/googleanalytics_cache.patch" rel="nofollow">check it out</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.askapache.com/google/faster-google-analytics-local-urchinjs.html#comment-563</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Mon, 23 Jul 2007 19:23:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-563</guid>
		<description><![CDATA[Not to be a pain, but did you consider the caching benefits had by serving the file from Google&#039;s servers? Once you visit one site that loads &lt;code&gt;http://www.google-analytics.com/urchin.js&lt;/code&gt; it is in the browser&#039;s cache for subsequent hits to that site and even when hitting other sites that also use Google Analytics.

This is similar to the reason that Yahoo hosts their YUI library files on Yahoo servers for all sites to link to and benefit from caching. With this scheme in place the most a browser should have to do is check the freshness of the file (and usually receives an HTTP 304).

Regardless, Google Analytics should be loaded after all of your core site content files and thus shouldn&#039;t impact apparent load time for users in the least. The stated need for additional speed is purely pedantic on the part of those who watch the status bar (&quot;Transferring data from google-analytics.com&quot;) -- hint: less than 10% of normal people.]]></description>
		<content:encoded><![CDATA[<p>Not to be a pain, but did you consider the caching benefits had by serving the file from Google's servers? Once you visit one site that loads <code>http://www.google-analytics.com/urchin.js</code> it is in the browser's cache for subsequent hits to that site and even when hitting other sites that also use Google Analytics.</p>
<p>This is similar to the reason that Yahoo hosts their YUI library files on Yahoo servers for all sites to link to and benefit from caching. With this scheme in place the most a browser should have to do is check the freshness of the file (and usually receives an HTTP 304).</p>
<p>Regardless, Google Analytics should be loaded after all of your core site content files and thus shouldn't impact apparent load time for users in the least. The stated need for additional speed is purely pedantic on the part of those who watch the status bar ("Transferring data from google-analytics.com") -- hint: less than 10% of normal people.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bigtime</title>
		<link>http://www.askapache.com/google/faster-google-analytics-local-urchinjs.html#comment-562</link>
		<dc:creator>bigtime</dc:creator>
		<pubDate>Wed, 28 Mar 2007 20:16:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-562</guid>
		<description><![CDATA[In your shell script it may be a good idea to wget the js file first with a different name, force a copy over the existing js file and then remove the temporary download file. This way you don&#039;t risk getting caught without a js file during one of those google &quot;lag&quot; times.

for example...

&lt;pre&gt;#!/bin/sh
cd /web/user/websites/askapache.com/z/j/
wget -O urchin.latest.js http://www.google-analytics.com/urchin.js
chmod 644 /web/user/websites/askapache.com/z/j/urchin.latest.js
cp --force urchin.latest.js urchin.js
rm /web/user/websites/askapache.com/z/j/urchin.latest.js
cd ${OLDPWD}
exit 0;&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>In your shell script it may be a good idea to wget the js file first with a different name, force a copy over the existing js file and then remove the temporary download file. This way you don't risk getting caught without a js file during one of those google "lag" times.</p>
<p>for example...</p>
<pre>#!/bin/sh
cd /web/user/websites/askapache.com/z/j/
wget -O urchin.latest.js http://www.google-analytics.com/urchin.js
chmod 644 /web/user/websites/askapache.com/z/j/urchin.latest.js
cp --force urchin.latest.js urchin.js
rm /web/user/websites/askapache.com/z/j/urchin.latest.js
cd ${OLDPWD}
exit 0;</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
