Welcome to WebmasterWorld Guest from 54.145.122.109

Forum Moderators: phranque

Message Too Old, No Replies

Does lots of Javascript hurt SEO

     
7:31 pm on Sep 30, 2010 (gmt 0)

New User

10+ Year Member

joined:May 14, 2006
posts: 34
votes: 0


I have a dilemma whether to include a javascript widget in my page.

The widget is very useful for the visitor, it enables them to search hotel availability for particular regions or specific hotels, flights and car rental.

However, the code is huge. My concern is that the extra code added to my page may adversely effect my on page SEO efforts.

I already know I should have the file off page and call it from within the head, rather than include it in the body. But the rendered code still shows it in the body.

Should I be concerned?
10:44 am on Oct 2, 2010 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10859
votes: 67


to see things from the SE point of view, you should test the page with tools such as Page Speed and YSlow:

Page Speed Home:
http://code.google.com/speed/page-speed/ [code.google.com]

Yahoo! YSlow for Firebug:
http://developer.yahoo.com/yslow/ [developer.yahoo.com]

as far as the user is concerned you want to be sure that the page load -> javascript interpretation -> page rendering time isn't so long that it affects the user experience (bounce rate).
3:52 pm on Oct 6, 2010 (gmt 0)

Preferred Member

10+ Year Member

joined:Aug 26, 2003
posts:568
votes: 0


If the tool you have is really useful then the benefit you get from other sites linking to it will far outweigh the negatives of having a slower loading page.

Having said that, do not ignore page speed as this might adversly affect user experience. Test your site with this tool recommended by G: [code.google.com...]