Speed up Google Analytics with a local urchin.js

Over at the Ask Apache site there is an article about Google Analytics and how to speed up your page load. You can read it here: Speed Up Google Analytics with Urchin.js Ever notice that sometimes your sites take a while to load all the way because google’s urchin.js file is taking forever? You may recognize this problem when you see something similar to this in your browsers status bar “Transferring data from google-analytics.com…” Time To Setup? 4 minutes I got tired of seeing that all the time and so I set up an automated cronjob that runs every 12 hours and downloads the latest version from google, and saves it to my website directory, then I reference /urchin.js instead of http://www.google-analytics.com/urchin.js.. and my site loads a lot faster!

Over at the Ask Apache site there is an article about Google Analytics and how to speed up your page load. You can read it here: Speed Up Google Analytics with Urchin.js

Ever notice that sometimes your sites take a while to load all the way because google’s urchin.js file is taking forever?

You may recognize this problem when you see something similar to this in your browsers status bar “Transferring data from google-analytics.com…”
Time To Setup?

4 minutes I got tired of seeing that all the time and so I set up an automated cronjob that runs every 12 hours and downloads the latest version from google, and saves it to my website directory, then I reference /urchin.js instead of http://www.google-analytics.com/urchin.js.. and my site loads a lot faster!

Take a look at the source for this page if you want to see what is going on (look at the bottom)
There are 2 pretty major things that you accomplish by hosting urchin.js locally

1. You Enable persistant connections
2. You ensure that the correct 304 Not Modified header is sent back to your site visitors instead of reserving the entire file.


Did you like this article?


0 Shares:
You May Also Like

Writers Write “B-Logs,” Get Money

This is an interesting read of other people in the business that write all about technology and get paid for it. I guess we're all trying to get to a point in our life where we can do something we enjoy and also be financially stable at the same time. This is a good way to start.
Writers Write “B-Logs,” Get Money -

arringtonmalikx.jpgUSA Today, that bastion of hard news, is covering a new fad popular with the kids called “B-logging.” They talk about two “b-loggers,” Om Malley and Mike Orvington, who used to work at real jobs and now eat ice cream and write about computers.

Now I don’t know who these people are or what they think they’re doing, but I think it’s bad to show people that you can make “real money” — how much, Om Malley? $5? HA! — doing this. There are jobs that Americans should be doing — car repair, HVAC installation, dance instruction — that are going empty while these two jokers sit around all day pretending to work. For shame. “B-logging,” like stamp collecting and religious observance, should be considered a hobby and nothing more. Let’s not encourage these bozos.

Tech blogs go from hobbies to businesses [USAToday]

[CrunchGear]
Read More

SueTube: sex, copyright, and rock & roll

Give this a gander. All of the current lawsuits against YouTube/Google, when they started taking down videos of Russel Peters and other popular shows. I cried.
SueTube: sex, copyright, and rock & roll -

Since its launch, YouTube has been a magnet for controversy. Ars looks at the popular video site's history of threats, lawsuits, and bans with an eye towards understanding what the landscape will look like once the dust settles.

Read More...

[Ars Technica]
Read More

First Google Android Phone Approved by the FCC

The first Google Android Phone has been approved by the FCC. The HTC dream will be the first Android phone.
Today, the news broke that the HTC Dream, the first handset to run Android (aka "the Google Phone") has been approved by the FCC. In the documents provided, it appears that we have now a release date for this highly anticipated phone: November 10th, 2008.
Another challenger appears! Read the full article at readwriteweb.com
Read More

Nokia N95 + RC plane = unlimited DIY aerial photography

Nokia N95 + RC plane = unlimited DIY aerial photography -

Filed under: ,


If you've found yourself tempted by other interesting DIY aerial photography rigs, but spent all your dough on the Nokia N95 instead, you may still be able to make a lifelong (or momentary) dream come true. A pioneering lad over at the N95 Blog has suggested that nearly unlimited high-resolution aerial photography can be yours if you're willing to strap your precious handset to an RC plane and get savvy with Pict'Earth software. The application allows users to create a theoretical Google Earth of their own if the existing imagery isn't up to snuff with their personal standards. Still, we'd have to mull this one over mighty hard before attaching such a valuable communicator to a potential death bed, but feel free to let us know how things go if you can muster the courage.

[Via AllAboutSymbian]

 

Read | Permalink | Email this | Comments


Office Depot Featured Gadget: Xbox 360 Platinum System Packs the power to bring games to life!

[EnGadget]
Read More

It All Comes Together: Laptop roundup

It All Comes Together: Laptop roundup -

[LifeHacker]
Read More