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

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

Volvo treasure hunt delayed after locating $500 million instead

Volvo treasure hunt delayed after locating $500 million instead -

Filed under:


In an interesting turn of events, it seems like the winner of Volvo's lucrative treasure hunt won't be unearthing the $50,000 treasure anytime soon, as the automaker's hunt partner (Odyssey Marine Exploration) has happened upon an actual $500 million treasure instead. The reported fortune is located somewhere in the Atlantic Ocean -- in a secretive area known only as Black Swan -- but reports are claiming that a court in the Spanish coastal town of La Linea has "issued an order for the Spanish Guardia Civil to detain any Odyssey vessel should it leave the port of Gibraltar," which has brought about an abrupt halt to Volvo's retrieval plans. Thankfully, it sounds like the Russian winner will still be awarded the dough and a new XC70 to boot, but there's no telling how long it'll be before Odyssey is able to put aside its bigger worries and dig up the (comparatively) paltry $50k.

[Via CarTechMag]

 

Read | Permalink | Email this | Comments


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

[EnGadget]
Read More

Should Joomla! components be non GPL compliant?

Should companies that are already providing Joomla! components commercially be forced to move to an GPL (open source) based model? There are many start up companies that provide a feature/component that Joomla! never had to begin with, for an inexpensive fee. There are also people that have modules that have been created to be free! Should this change? Should all Joomla! components be open source? Is another split going to happen? Will this be the end of the thousands of companies that provide modules for a fee to disappear? You can read more on the frontpage of Joomla! GPL compliance issues are tearing Joomla! apart - Joomla! project leader Louis Landry and his colleagues want to protect the project they love. That's why, after two years of allowing proprietary plugins for the open source CMS, the group has decided to ask third-party developers for voluntary... [Linux.com]
Read More

Linux computer that takes only 8 watts of power and can be solar powered

I know everyone is loving the new Asus Eee PC and they should, its a wonderful device. But if you want to go even smaller you can take a look at Aleutia E1 it only takes 8 watts of power and can be charged using solar power. Definitely for the out and out and about type traveler that needs a small computer that can be charged easily, combined with a sattlite phone for data and you have all that you need in a remote location.

Read More