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

Thunderbird still has potential to fly despite developers leaving the nest

Thunderbird is a pretty great open sourced mail client that is available on multiple platforms and for free. From the beginning its development has been mostly be shadowed by FireFox. The two core developers of Thunderbird have left Mozilla, which is a big blow to the ongoing development of Thunderbird. Will Thunderbird not longer get as many updates or new features? Will development complete stop? Only time will tell.
Read More

Windows XP SP3 showing increases in performance

An article written by Richard Koman from newsfactor.com talks about the performance increases that everyone will see once SP3 for Windows XP is released. The company Devil Mountain Software, has recently done tests on Windows Vista in regards to the up-coming release of SP1. The testing concluded:
"The hoped-for performance fixes that Microsoft has been hinting at never materialized," the testers reported. "Vista + SP1 is no faster" than out-of-the-box Vista, they said.
Read More

MySpace to launch a casual gaming area.

MySpace is trying to drive more visitors to its site, or rather keep the visitors from leaving them for Facebook. It looks as though the games will be provided by a 3rd Party company that has private label games.
MySpace is set to launch a new casual games area on the site early next year, reports The Wall Street Journal. The games will be provided by Oberon Media, a company that specializes in developing private label gaming sites for major Internet brands including Yahoo and Microsoft.
Read More

Perry Ellis gives away cheapo USB flash drive

Perry Ellis gives away cheapo USB flash drive -

Filed under:


You would think that Perry Ellis, a "respectable" department store clothing maker, could afford something half-way decent to hand out to its customers -- but you would be wrong. Like many designer products, after you get through the ornate packaging and custom plastic box, it's just cheap junk from China. In this case, that cheap junk happens to be a 64MB (that's right, megabyte) USB flash drive. Of course, you'll be thanking Perry when you've got a place to store one big Photoshop file.

[Thanks, kristofer]

 

Read | Permalink | Email this | Comments


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

[EnGadget]
Read More