Speed Up & Modernize Websites With Head JS

Scripts are usually loaded within the <HEAD> section of websites which ends up in a slow loading experience.

When they are moved to the bottom, it won't be wrong to expect dependency problems + HTML5 and CSS3 can not be used safely.

Head JS

Head JS is a tiny (2.3kb) script that can load your scripts in parallel but enable you to execute them in the order defined.

It can also help modernizing the websites:

  • finds unsupported CSS rules for the browser used and add a class to them so you target those elements directly
  • HTML5 enables IE

And, there are more features like detecting the browser, JavaScript capabilities and more.

  1. Reply Zoran December 4, 2010 at 10:33 AM

    Idea is great, but I tried this and got some strange behavior: head.js added some opacity to my BODY tag … I will wait until 1.0 version, but idea is realy great!

  2. Reply MaddinXx December 7, 2010 at 3:19 PM

    If this will work how they tell, this has to become a must have file

Leave a reply