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

Guru3D Driver Sweeper 0.4.5

Driver Sweeper is a fast tool to remove driver leftovers from your system. It's very important to remove your drivers on a proper way, because driver leftovers can cause problems like stability and startup problems. You can use it if you want to update/remove drivers from your system.
Read More

How To: Stream Music From The iPhone In Ubuntu w/ Rhythmbox

I know that you can get your ipod working within Linux using gtkipod, and if you actually mount the file system on the ipod you can then write to it use gtkipod. I don't know why jailbreaking and mounting the iphone is required. Good read though.
How To: Stream Music From The iPhone In Ubuntu w/ Rhythmbox - >>>>>>>> This is the Best Damn Guide EVER written to stream media from your iPhone to your Ubuntu PC using Rythmbox.
Read More

NASA funded robots to search for life under Arctic ice

NASA funded robots to search for life under Arctic ice -

Filed under:

In a mission that is apparently similar to searching for life under the ice of Jupiter's moon Europa (sans the space travel part), three robots are set to start a mission to explore the underwater hot springs under the ice of the Arctic: because someone else did the Antarctic last year. On a 40 day expedition in July, researchers from Cape Cod hope to use three new robotic vehicles -- two that can operate without cables under ice -- to find life that resides in the hot streams along the techtonic boundary between Eurasia and North America. Although the robots can descend over 3 miles under the water working just meters from the bottom to photograph objects and collect samples, the task of the NASA-funded $450,000 Puma and Jaguar robots will be hindered by the rough terrain and their inability to surface through the ice. Sounds like NASA's got quite a while to go until it can submarine around Europa -- they probably won't be able to surface there at all.
[EnGadget]
Read More

DS2 announces 400Mbps powerline networking

Never really thought and still don't think Powerline based Networking would take off. With the increase in speed to 400Mbps, this will defiantly give a lot of fiber technologies a run for their money.
Read More