Site with a big "head"...

by DavidO
3 replies
  • SEO
  • |
Is it possible to have too much in the <head> section?

My sales page has all the usual meta tags plus Google Optimizer code (split-testing), Google Analytics, jquery for a slideshow, media player code and dropdown menu code. Now I want to add a greybox feature to highlight content.

Is there a point where all this can be detrimental to SEO?

I've got all my style and js files in external folders so I don't think I can minimize it any more, other than eliminating some of the special features.

I've goggled this and found webmasters advising against excessive coding. But a lot of stuff on the web is already out of date and download speeds have increased a lot. My site loads quickly, even with all the gizmos.
#big #head #site
  • Profile picture of the author paulgl
    It's not the coding, it's what the coding does.
    If the coding calls scripts, preloads certain images, etc., it may slow
    the site's total load time. If that really slows it down, it may affect it.

    meta, css, defining javascripts, php variables, etc., is not executed code on loading.

    Some of what you have is executed on loading, some is not. Some does not need
    to be "executed," just browser display or definitions.

    I could have a short (in code) javascript that took a minute to execute. I could have 1,000
    lines of other stuff that happened in a millisecond.

    Servers are pretty fast today. Take a look at the code of sites like yahoo.

    Paul
    Signature

    If you were disappointed in your results today, lower your standards tomorrow.

    {{ DiscussionBoard.errors[3298698].message }}
  • Profile picture of the author Rich Lowe
    Hi David ,

    It isn't a problem - but for speed you need to use external standard javasript libraries such as jquery which means do not use local copy of jquery but version hosted on Google for instance:

    https://ajax.googleapis.com/ajax/lib.../jquery.min.js

    Google provides other useful libraries. You can read more about it - and how to use it

    Google Libraries API - Developer's Guide - Google Libraries API - Google Code

    The rest of the javasript code could be compiled into one file and loaded as external javascript.

    Rich
    {{ DiscussionBoard.errors[3304727].message }}

Trending Topics