Open Source Resources for Web Application Developers

Shopify - Online Store Builder
Follow Us on Social Sites
Subscribe RSS Subscribe Newsletter Like us on Facebook Follow us on Twitter Follow us on Google+
  • Home
  • News
  • Plugins
  • Design
  • Others
  • Books
  • About
01 Dec

Head JS Speeds Up, Simplifies & Modernizes Your Site

  • Code, MIT License
  • Leave a Comment

The HEAD section is the worst place to load scripts. It’s painfully slow. The more and the bigger the worse it gets. Move the scrips to the bottom of the page and you cannot use HTML5 and CSS3 safely.

The single best solution to this universal problem is to include Head JS on top of the page and load rest of the scripts with it. Head JS speeds up, simplifies and modernizes your site. Head JS loads scripts in parallel without blocking the page. The performance will be improved even with a single minified script.

headjs

Requirements: Javascript Enabled
Demo: http://headjs.com/
License: MIT License

Share
Tweet
Sponsors
subscribe to our newsletter - weekly free resouces for web developers
follow us on social sites - rss, facebook, google+, Twitter
Subscribe RSS Like us on Facebook Follow us on Twitter Follow us on Google+
Related Resources
Check How Fast Your Website Loads From 50 Locations

Check How Fast Your Website Loads From 50 Locations

JSLoader – Javascript Libraries on Demand

JSLoader – Javascript Libraries on Demand

Compact Lightweight Javascript Animation Library

Compact Lightweight Javascript Animation Library

Boost Website Load Time with Javascript CSS Compressor

Boost Website Load Time with Javascript CSS Compressor

Protect Your Email Address with PHP Hide_Email()

Protect Your Email Address with PHP Hide_Email()

Serve Conditional JavaScript & CSS Files with Conditionizr

Serve Conditional JavaScript & CSS Files with Conditionizr

Comments
  • James

    This looks excellent, has anyone created any tests/examples yet? When I get a bit of time I will try it out on my rather JS heavy web app. (We use ExtJS)

    I did notice this at the bottom of the page: “The library is not production ready yet” – not immediately obviously when you first look at the site.

  • Shaun

    Looks interesting. Wish he provided the script with only the js loader. People that already use modernizr (me) don’t need most of the other stuff it provided. Perhaps I should make a fork of the current branch and remove all the extras.

  • Shaun

    If anyone is interested, it looks like he already does provide a “loader-only” version:

    https://github.com/headjs/headjs/blob/master/src/head.loader.js

  • http://www.crystalaxis.com Asela

    Looks very promising…

  • Zoran

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

  • fakitol

    I’m adding in the head:

    <script src="js/head.min.js” type=”text/javascript”>

    head.js(”js/jquery-1.4.4.min.js”);
    head.js(”fancybox/jquery.fancybox-1.3.4.pack.js”);
    head.js(”fancybox/jquery.mousewheel-3.0.4.pack.js”);
    head.js(”uploader/swfobject.js”);
    head.js(”uploader/jquery.uploadify.v2.1.0.js”);

    … and it doesn’t work at all. The files are loaded, but they doesnt execute.

  • http://www.hireprofessionalwebdevelopers.com/ Hire Web Developer

    Sounds great. Has anyone got this to work

  • http://zacklive.com Zack

    Sounds great, is anyone using Head JS in action? I’d like to see how it works.

  • http://blog.creativeboulder.com/ creativeboulder

    Great stuff. This is a really good library. I noticed nobody has posted to this in a few months, so I figured I would weigh in. By now, head.js is at version 0.9 and functional. (Download at http://headjs.com/#download). After working with it for a full day on a beta website, I actually re-worked all of my javascript on this traffic heavy website and have head.js working great. I use a lot of PHP to pull scripts and code based on the environment variables and page variables, and adding head.js and utilizing it to load my scripts and work with css redirection has been great. I was able to cleanup enough and save about 1.55 seconds on the load time. After testing on different platforms and browsers, I have offically published this website live with head.js.

    Head.js is almost there, I know there are some upcoming features according to the website and in a production environment it is functional. It would be nice to see maybe some javascript and css compression functions built in (I guess, I could work on something like that if I had time, you can fork it on GitHub).

Open Source Resources for You

What we need is a list of the top quality resources, so that we can spend more time on our web development. WebAppers only picks the top quality web development resources for you.

© Copyright 2012 WebAppers | About | Archives | Privacy Policy | Advertise | Contact

Sponsors
Advertise Here
Search
By Keywords
30 Days / All Time
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • Professional Business Cards Made By Designers
  • Best Free Chrome Extensions for Web Developers
  • All of the Best Free WordPress Themes You Need
  • How to Create a Web App Admin User Interface
  • Nice List of Open Source Fish Eye Menu
  • Best Web Admin Templates
  • 25 Useful Blogs for Web Design & Development
  • Simple Javascript Progress Bar with CSS
  • 10 Useful & Quality Design Resources
  • Free Web Application Icons
  • How to Create High-Performance Code
  • Easy to Use, Drag & Drop Bootstrap Interface Builder
  • The Most Well-Made, Free & Open Source Fonts
  • Tiny Responsive jQuery Slider without Fancy Effects
  • How to Create Realtime Multi-player Games in HTML5
  • Create an Amazon-like Navigation Menu with jQuery
  • A True Responsive jQuery Lightbox Plugin for Free
  • How to Make FullScreen Page Transitions with CSS
  • How to Use Web Workers for Image Manipulation
  • Pretty Neat jQuery Mobile Theme Based on Flat UI
Sponsors
Plugins
  • Advertisement15
  • Calendar47
  • Capture19
  • Charts55
  • Chat22
  • Demo Tour16
  • Gallery121
  • Maps30
  • Menu86
  • Polls9
  • Popup49
  • Tooltips42
  • Upload33
  • Video18
Desgin
  • Brushes11
  • Buttons25
  • Color Schemes24
  • Fonts47
  • Forms112
  • Icons108
  • Patterns24
  • PS Tutorials15
  • Stock Photos21
  • Tables25
Others
  • Announcement103
  • Best Collections6
  • Code54
  • eCommerce24
  • Framework214
  • Hosting13
  • Information238
  • Inspiration32
  • Legal Documents10
  • Reviews8
  • Security13
  • Social28
  • Sound16
  • Stats39
  • Tools293
  • Webmail14
Licesnes
  • BSD License67
  • CC License122
  • GPL License224
  • LGPL License40
  • License Free738
  • MIT License408
Sponsors
Advertise Here
Partners
NetDNA