« Evidence of Yahoo Crawling Google Sitemaps | Main | Here Lies ODP »
Externalize the Javascript
November 28, 2006
Externalizing your javascript is easy and will benefit you with smaller file size and cleaner code. Excessive javascript in your page HTML can make it harder for the search engines to crawl. It may also be mis-understood and come up in the search engine results pages as relevant content.
If you have access to your HTML
1. Cut all the javascript between the < script > tags and paste it into a text file.
2. Name the text file “anything.js� and place it on your server.
3. Place the following tag (to call the file) in your Page < Head >:
< script type="text/javascript" src="anything.js" > < /script >
If you have multiple javascript applications then use multiple .js files and tags.
All posts by James Gunn
posted by James Gunn at November 28, 2006 5:01 PM
Intrapromote: [ Case studies | SEO services | Bios ]
Comments
That made sense. Also to brign down the code/text ratio. Thx
Posted by: Annoncer at March 1, 2008 2:10 AM
Nice short and sweet post James. I found what I was looking for
Posted by: marc peterson at November 4, 2009 1:10 AM
Super crafty domain name! Just had to let you know!
Posted by: Jeremy at December 18, 2009 4:08 PM
Lenen Zonder BKR Toetsing Lenen zonder BKR toetsing stijgt in populariteit op het Internet. Veel mensen met een zogeheten BKR notatie, die toch geld willen lenen zijn op zoek naar ...
Posted by: lenen zonder bkr toetsing at August 3, 2010 5:03 PM
I'll keep it short - Great blog, interesting point, but I'd like to hear more about your background and how you came to your views. I work in the medical field myself and am studying antibiotics infection case such as that site's info. Interesting stuff.
Posted by: antibiotics infection at August 7, 2010 2:07 PM
Wonderful to read!
Posted by: Westfield Carpet Cleaners at August 13, 2010 12:43 AM
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. If I agreed with you we'd both be wrong.
Posted by: Michael Idea at August 15, 2010 8:58 AM
hi, does anyone know a proper website as a replacement for Neopets Cheats?
Posted by: VeraAbralia097 at August 23, 2010 6:37 PM
What a write!! Very informative and also easy to understand. Looking for more such blog posts!! Do you have a twitter?
I recommended it on stumbleupon. The only thing that it's missing is a bit of new design. Anyway thank you for this information.
Posted by: Jayson Collister at August 31, 2010 9:32 AM
Thank you for a great post
Posted by: Powder Springs cleaning service at September 1, 2010 3:41 AM

