generic async loading method for page web scripts?

Posted by boomhauer on Stack Overflow See other posts from Stack Overflow or by boomhauer
Published on 2011-02-14T15:22:42Z Indexed on 2011/02/14 15:25 UTC
Read the original article Hit count: 282

Filed under:
|
|
|
|

The google analytics code went to an async load model some time back. I've noticed that a lot of the other scripts I use on many sites are causing slow load times - specifically the addthis script and the facebook like button.

I'm noticing that the slow load times of these scripts is causing the google bot to calc my page loadtimes as being much slower than previously.

I'd like to know if there is a standard/generic way of causing these scripts to load async as well, or perhaps a pointer to someone who has done the work for this already. Seems this would be a popular thing to do, but not much luck searching around.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about google