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.

0 Shares:
You May Also Like

Microsoft adds Virtual Machine additions for Linux

Microsoft has released an Update to its Virtual Server 2005 R2 SP1. This update improves on the interoperability of running "Qualified" Linux Operating Systems as guests or Virtual Machines. With added support for SuSE Enterprise Server 10, Guest and Host time synchronization, SCSI hard disk emulation and more! The Qualified Linux Operating Systems don't include Debian, Ubuntu or any Unix/BSD OS. :(

Web 2.0: Apps for the well-organized student

Web 2.0: Apps for the well-organized student - pencils.png

Read/WriteWeb has created a list of their top web applications for students - but honestly, anyone who wants to be more organized could benefit from this list.

Many of these have been featured here at Lifehacker central; however, I really like how this list is organized into specific categories: office replacements, taking notes, mind mapping, studying, bookmarking, collaboration, calendars, calculators, and more. Do you see anything missing from this list? Let's hear it in the comments.

[LifeHacker]

Fastcgi and the dreaded aborted: select() failed

I was getting reports of "500 Internal Server Errors" on two of my web servers. And after further investigation it looks like it was related to the following error.

(4)Interrupted system call: FastCGI: comm with server "php-fastcgi.fcgi" aborted: select() failed

After doing some reasearch I stumbled upon the following patch.

http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/3de22bc415d3da02?pli=1