JavaScript on webpages

A few months ago we made a big mistake on our website - we had 4 JavaScript components on each page in our index. At first we didn’t think it was a big deal, and it probably isn’t a big deal if you have 1 or 2 on your site, but having 4 slowed down our load pages.

It was not insignificant - on some dial-up machines the JavaScript processes added up to 10 seconds of load-time - can you imagine the abandon rate?

Examples of some JavaScript snippets that people often clutter their pages with include StatCounter, Google Analytics, different affiliate programs (most use JavaScript), Google Adsense, Yahoo Publisher Network and tons more.

Note that I’m not saying that you shouldn’t use any of these services, but I would definitely limit myself to one or two (as we have done). Decreasing your load-time can dramatically increase your average number of page-views and, as a result, conversion rate.

6:42 pm

No Comments »

No comments yet.

RSS feed for comments on this post. | TrackBack URI
You can also bookmark this on del.icio.us or check the cosmos

Leave a comment

XHTML ( You can use these tags): <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> .