I have read articles and forum posts about HeadJS script and how good it is, how it can speed up your site and basically do miracles with your sites :)
Head.js (http://headjs.com/) is tiny script which improves loading speed of your websites/pages.
The latest version is version 0.9. Demo on the headjs.com has some problems, I find it really strange that developer has not yet updated javascript links within headjs demos (there are 404 errors and js wont load). So they are basically worthless if you try to measure speed.
I have removed all github links and added various CDN javascript libraries. Now all the libraries are working, return status 200 OK. Point of CDN usage is that scripts wont be slowed by speed of my web server and most of these javascript get loaded from CDN anyway.
Original test is from head.js website, it calculates how long it takes to load page either using classic <script> within <head> or using just one <script src="head.js"> library and rest specifying as javascript call:
head.js("https://ajax.googleapis.com/ajax/libs/yui/3.3.0/build/yui/yui-min.js") .js("http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js") .js("https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js") .js("https://ajax.googleapis.com/ajax/libs/dojo/1.6.0/dojo/dojo.xd.js") .js("https://ajax.googleapis.com/ajax/libs/mootools/1.3.1/mootools-yui-compressed.js") .js("http://cdn.jquerytools.org/1.2.5/all/jquery.tools.min.js");You can try amended benchmars here:
HeadJS demo with script src (i am ignoring bottom <script> locations):
http://www.feronovak.com/test/headjs/script.html
HeadJS demo with head.js
http://www.feronovak.com/test/headjs/headjs.html
I have disabled all extensions, addons, plugins for all browsers to make it as fair as possible. Still this is not any scientific test and methods used are pretty lame. But it works for me as this is how normal person browsing a page will see it.
And my results (please feel free to post your times in discussion):
Chrome 10.0.648.151
SCRIPT SRC DEMO
- 1st run, empty cache: 261ms
- 2nd run, cached files: 38ms
HEAD.JS DEMO
- 1st run, empty cache: 24ms
- 2nd run, cached files: 14ms
Results are quite clear, head.js loads page much faster than classic <script> method.
Firefox 4.0
SCRIPT SRC DEMO
- 1st run, empty cache: 263ms
- 2nd run, cached files: 111ms
HEAD.JS DEMO
- 1st run, empty cache: 261ms
- 2nd run, cached files: 108ms
Really interesting this one. FF 4.0 basically wont show any difference with 1st run, same numbers for both first runs. Even more interesting is that cached run is the same speed for both versions.
Internet Explorer 9.0
SCRIPT SRC DEMO
- 1st run, empty cache: 368ms
- 2nd run, cached files: 116ms
HEAD.JS DEMO
- 1st run, empty cache: 18ms
- 2nd run, cached files: 8ms
This is really surprising result, IE9 loads head.js fastest from all browsers. Yes, I have tried everything, I deleted cache, closed whole IE9, deleted cache and loaded page. Times are very consistent and it really is mega fast. It is even faster than Chrome 10.
Internet Explorer 8 (IETester)
SCRIPT SRC DEMO
- 1st run, empty cache: 361ms
- 2nd run, cached files: 206ms
HEAD.JS DEMO
- 1st run, empty cache: 16ms
- 2nd run, cached files: 14ms
Again huge time difference. I am only using IEtester but it seems that it really is such a difference when loading site. Again, I am loading page without cache for 1st run, and then cached for 2nd.
Internet Explorer 6 (IEtester)
SCRIPT SRC DEMO
- 1st run, empty cache: 670ms
- 2nd run, cached files: 180ms
HEAD.JS DEMO
- 1st run, empty cache: 21ms
- 2nd run, cached files: 15ms
This is most visible difference when loading the page. Old IE6 just won't die and head.js can quite improve loading time.
It seems that head.js really can improve webpage loading times. However, I won't be putting it into my projects until I am 100% sure it works well with all the JQuery plugins and javascript codes. But big thanks to developer for creating such useful tool, I am sure that many sites will use this soon (or in fact use it already).
107 comments:
Good article and demo. Thank you.
Followed to here from one of your SO posts. My anecdotal experience has been the head.js actually does a remarkable job of speeding up the page load. Unfortunately, it is not so remarkable when it comes to older browser compatibility.
While it sort of works in IE6-7 in the sense that there are no errors, and sometimes things work, I found it very unreliable in real-world situations involving a lot of scripts. Page would just freeze and never finish loading for no particular reason, sometimes. So I had to give it up for this reason, since even though I have no love for those browsers, I can't see excluding them just for this benefit.
One possibility is browser-dependencies to use head.js only for newer browsers, but the fact that it's inconsistent worries me and I'm not interested in adding another wildcard to testing.
Please include or add Safari/webkit as it is used by many mobile devices that directly relate to this conversation.
Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from Javascript Training in Chennai . or learn thru Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry. JavaScript Training in Chennai
You are doing a great job in researching and writing worthy contents. I really appreciate your great efforts. Keep updating. Looking forward for more from you. REgards.
Javascript Training in Chennai | Javascript Training Classes | Javascript Training | Javascript Course in Chennai
I believe that your blog would help the readers by giving them a useful information. Waiting for more updates from this admin.
IELTS Coaching in Mulund
IELTS Training in Mulund West
IELTS Courses in Mulund
Best IELTS Coaching Institute in Mulund
IELTS Classes in Mulund
Best IELTS Training Centres in Mulund East
IELTS Classes near me
In the beginning, I would like to thank you much about this great post. Its very useful and helpful for anyone looking for tips. I like your writing style and I hope you will keep doing this good working.
CCNA Course in Chennai
CCNA Training in Chennai
DevOps Training in Chennai
Digital Marketing Training in Chennai
SEO Training in Chennai
CCNA Training in Anna Nagar
CCNA Course in T Nagar
Thank you so much for providing information on this. It was very useful.
Aviation Academy in Chennai
Air hostess training in Chennai
Airport management courses in Chennai
Ground staff training in Chennai
Medical coding training in Chennai
Fashion designing courses in Chennai
Interior design courses in Chennai
whatsapp group links
Unlimited whatsapp groups for join . click here and get unlimited whatsapp groups links for join and you can also promote your groups in this website - http://whatscr.com
The best indian dating website in world . you will get unlimited mobile numbers of girls . click here to get girls mobile numbers
...................................
Post a comment
.
Nice post. Thanks for sharing! I want people to know just how good this information is in your article. It’s interesting content and Great work.
Thanks & Regards,
VRIT Professionals,
No.1 Leading Web Designing Training Institute In Chennai.
And also those who are looking for
Web Designing Training Institute in Chennai
SEO Training Institute in Chennai
Photoshop Training Institute in Chennai
PHP & Mysql Training Institute in Chennai
Android Training Institute in Chennai
we recently shared lucky patcher app download link on our blog
We shared official lucky patcher apk download link for your guys.
Thanks for sharing valuable information.It will help everyone.keep Post.
Kerala Lottery guessing
Great post
Premium Android Apps
Excellent blog for all the people who needs information about this technology.
spanish language in chennai
spanish language classes in chennai
German Courses in Chennai
Best IELTS Coaching in Chennai
learn Japanese in Chennai
Best Spoken English Class in Chennai
Spoken English Class in Anna Nagar
spoken english course in anna nagar
how to use paytm postpaid
web hosting kya hai
IndiaYojna.in
Great post
Top 10 cars under 5 lakhs
Top 10 cars under 6 lakhs
top 5 light weight scooty
best suv under 10 lakhs
Outstanding blog with lots of information. Keep posting more like this.
ccna course in Chennai
ccna institute in Chennai
ccna Training center in Chennai
gst classes in Chennai
ReactJS Training in Chennai
Salesforce Training in Chennai
ccna course in Tambaram
ccna course in Velachery
CCNA course in Vadapalani
Useful information
Top 5 best PPSSPP games for Android
Top 6 Best free online video convertor websites
Bill Gates admits losing to android as his biggest mistake
Top 9 best free tools and website to convert speech into text online
Advantages of choosing proper Antivirus for your PC
Top 8 Reasons Why Government Will Be Slow to Accept the Cloud
Things to be kept in mind while choosing a recovery software
Android vs. Other mobile Operating system and how google is best
Iamrjrahul WR3D 2K17
Thanks for sharing this article. Really helpful for me.
www.Geonewstv.com
Free Forex Signals
Daily Bitcoin Predictions
This is a very amazing post for cheap web hosting services. in this post, you have provided all the basic information regarding.
website builder for reseller
Comfortabl y, the post is really the freshest on that deserving topic. I harmonise with your conclusions and definitely will thirstily look forward to your next updates.
private label website builder
Thank you for the link building list.I am going jot down this because it will help me a lot.Great blog! Please keep on posting such blog.
white label website builder
Thanks For Providing Us this Great Iformation .Get Our Some Quality Services Buy Adsense Accounts .
Here is also avilable Buy Adsense Accounts .
You Can Watch Adsense Earning Trick Here Youtube Channel Buy Adsense Accounts .
Thanks for Sharing a great information about technologies..
Spoken English in chennai
Personality development in chennai
IELTS in chennai
TOEFL in Chennai
American Accent Training in chennai
Call centre training in chennai
Amazon Customer Care Phone Number
Amazon Customer Service Email
Amazon Live Chat Support
Return Item With Amazon Return Policy
Amazon Affiliate Commission
click here
click here
click here
click here
click here
click here
clipping path EU is offering all kinds of image editing services to the E-commerce Business Industries all over the world. It is offering clipping path service, Background Removal Service, Image Masking, Photo Retouching, Neck Joint Service, Color Correction and other related image editing service. The best thing is they are providing all their services in low cost. It is obvious that you are going to get satisfied.
thank you very much for share this wonderful article 토토사이트
thanks for sharing your knowledge
Frases Para Status
Sad Status
Frases Para Status Do Whatsapp Letras De Musicas
Emotional Shayari In Hindi On Life
Very Heart Touching Sad Quotes In Hindi
Great Article. Thank you for sharing! Really an awesome post for every one.
IEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation. For experts, it's an alternate ball game through and through. Smaller than expected IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble. Final Year Project Domains for IT It gives you tips and rules that is progressively critical to consider while choosing any final year project point.
JavaScript Training in Chennai
JavaScript Training in Chennai
Sach janiye
Mrinalini Sarabhai
Sandeep Maheshwari
dr sarvepalli radhakrishnan
Arun Gawli
Rani Padmini
Sushruta
Harshavardhana
Nanaji Deshmukh
Tansen
subrahmanyan chandrasekhar
Mithali Raj
Durgabai Deshmukh
Sumitranandan Pant
Pandit Deendayal Upadhyay
Manya Surve
Philip Larkin
Razia Sultan
Gautam Adani
Surdas
Very Nice Article 파워볼사이트
1st mod apk
1st mod apk
Two Dots MOD Unlimited Lives
Angry Birds Evolution Mod
Angry Birds Evolution Mod Apk
Deezer Premium Latest APK
How to Download Deezer Premium APK
How to Download Deezer Premium Latest APK
Hill Climb Racing 2 Mod
Hill Climb Racing Mod Apk
Hill Climb Racing 2 Mod Apk
1st mod apk
1st mod apk
Two Dots MOD Unlimited Lives
Angry Birds Evolution Mod
Angry Birds Evolution Mod Apk
Deezer Premium Latest APK
How to Download Deezer Premium APK
How to Download Deezer Premium Latest APK
Hill Climb Racing 2 Mod
Hill Climb Racing Mod Apk
Hill Climb Racing 2 Mod Apk
techuzza
very nice article 토토사이트
small seo tools
small seo
advanced technologies definition
small seo tools plagiarism
computer software types
seosmalltools
internet marketing examples
plagiarism checker small seo tools
seo small tools plagiarism
Check this very awesome site!
https://hky7.com 토토사이트
I love it when individuals come together and share
opinions. Great website, stick with it! Visit opur page also. https://hky7.com 토토사이트
very nice article: ccc admit card 2020
wishing republic day
Hey Nice Blog Post Please Check Out This Link for purchase
Men Satchel Bags for your loved ones.
마찬가지로 세 번째 상자를 열면 세 번째 상자와 마찬가지로 세 번째 라인을 재생합니다. 네 번째와 다섯 번째는이 특정 기계의 대각선입니다.우리카지노
SEO (Search Engine Optimization) is the practice of optimizing content to be discovered through a search engine's organic search results. The benefits are obvious: free, passive traffic to your website, month after month 구글상위노출
Your Website is very good, Your Website impressed us a lot, We have liked your website very much.
We have also created a website of Android App that you can see it.
http://damodapk.com/
http://seniorjacket.com/
Kjt vs Bt live score
Grey Article & Thanks for sharing.
Oflox Is The Best Website Development Company In Saharanpur or Digital Marketing Company In Dehradun
Thanks for sharing a piece of valuable information.
Corporate Training in Chennai
Corporate Training
Power BI Training in Chennai
Unix Training in Chennai
Appium Training in Chennai
Oracle Training in Chennai
Advanced Excel Training in Chennai
Linux Training in Chennai
Pega Training in Chennai
Oracle DBA Training in Chennai
Tableau Training in Chennai
Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.
Oracle Training | Online Course | Certification in chennai | Oracle Training | Online Course | Certification in bangalore | Oracle Training | Online Course | Certification in hyderabad | Oracle Training | Online Course | Certification in pune | Oracle Training | Online Course | Certification in coimbatore
thanks for sharing information awesome blog post click here
nice article thanks for the kind information
Robotic Process Automation (RPA) Training in Chennai | Robotic Process Automation (RPA) Training in anna nagar | Robotic Process Automation (RPA) Training in omr | Robotic Process Automation (RPA) Training in porur | Robotic Process Automation (RPA) Training in tambaram | Robotic Process Automation (RPA) Training in velachery
Online Education Quiz website Online Gk in Hindi
best gaming laptops under 30000
Best 2 burner gas stove
best-foldable-keyboards
Hi, Very informative post and really appreciate the effort you put into it. Every one now a days is trying to gather more information about Forex Trading .
Thanks for posting such a blog it is really very informative. And useful for the freshers Keep posting the
updates.
BCA Notes
https://zulqarnainbharwana.com/los-angeles-lakers/
imageji
imageji
Every business requires a certain temperament and approach same with forex,Before starting Forex Trading, you have to make some preparations, to get the best resultsForex Indicators.
Digital Marketing Course in Patiala
Web designing course in Patiala
Graphic designing course in Patiala
Seo course in Patiala
App development course in Patiala
Social media marketing course in Patiala
Web development course in Patiala
Ppc course in Patiala
Computer centre in patiala
Digital Marketing Course in Patiala
Web designing course in Patiala
Graphic designing course in Patiala
Seo course in Patiala
App development course in Patiala
Social media marketing course in Patiala
Web development course in Patiala
Ppc course in Patiala
Computer centre in patiala
I'm a long-serving digital marketing professional and full-service as a social media marketing manager. I'm offering services at a competitively low cost. I have experience in keyword research, Article writing or Rewriting, Guest posting, B2B Lead Generation , Data Entry ,link building, web 2.0 backlink ,
Video submission. I have 5 years of experience in the field and are assured of delivering High Quality and manual work. I have my own site name as AbidhTech.
Modern Combat 5 mod apk latest
Nova legacy mod apk latest
https://codifyshow.com/
Thanks for this sharing
affair|after marriage|অ্যারেঞ্জ ম্যারেজ
Love Story|Sad Love Story
অদ্ভুত ভালোবাসা | single mother
working woman|অসম্পর্ণ
অসম্পর্ণ ভালোবাসা | ভালোবাসা | affair
On this website, I am updating daily Article on Technology, Digital Marketing, and Youtube News
Worldtricks4u
branding company in Patiala
Digital marketing company in Patiala
Graphic designing services in Patiala
Web designing company in Patiala
Web development company in Patiala
Seo company in Patiala
Best event management companies in Vijayawada, Andhra Pradesh
Thanks for taking the time to share the good article.
php interview questions and answers
salesforce interview questions
blue prism interview questions
javascript interview questions
ethical hacking interview questions
networking interview questions and answers
Mua vé liên hệ đại lý Aivivu, tham khảo
vé máy bay đi Mỹ khứ hồi
có vé máy bay từ mỹ về việt nam chưa
lich bay tu duc ve viet nam
tin tức các chuyến bay từ nhật về việt nam
I want you to thank for your time of this wonderful read!!!
I definately enjoy every little bit of it and I have you bookmarked to check out new stuff of your blog a must read blog!
you can visite my website.
सराजस्थान भामाशाह कार्ड योजना
Very nicely done. Your show schedule gave me the info on some shows I was wondering about.
I visited your web site today and found it very interesting and well done.
I can tell you have put a lot of work into it.
Thank you for the listing on your web page.
You have a good looking web site Your site is exactly what I have looking for!! Keep up with the good work.
Applcation Mod
Thanks a lot for sharing this good blog post.. i hope keep more post for sharing thanks.
I have found this source very genuine and very worthy to complete my assignments.
Thanks a lot for the same. my website as it you can visite it.
Govt.Schemes
Thank you for your post, I look for such article along time, today i find it finally. this post give me lots of advise it is very useful for me.
AWS Training in Chennai
Bollywood News in Hindi - Check out the latest Bollywood news, new Hindi movie reviews, box office collection updates and latest Hindi movie videos. Download free HD wallpapers of Bollywood celebrities and recent movies and much more on Bollywood Hungama.
Satyameva Jayate 2 Full Movie
spider man no way home full movie
Thanks for Sharing This Article.It is very so much valuable content.
vé máy bay từ mỹ về việt nam
vé máy bay từ úc về việt nam giá rẻ
Giá vé máy bay Hàn Việt Vietjet
Cách đặt vé máy bay tu Nhat Ban ve Viet Nam
Ve may bay Bamboo tu Dai Loan ve Viet Nam
chuyến bay từ canada về việt nam
nices information thanku so much. this information
paidboom-hosting-review
kishorsasemahal
click here
Search Chennai real estate, Chennai property, Chennai Home For Sale, Chennai Land for Sale, property in Chennai, real estate in Chennai. Buy Commercial or Industrial Properties in Chennai. Buy or Rent residential apartments, flats, house, bungalow, villa in Chennai. Search property for sale, rent and PG Chennai. Get the best property deals from Chennai real estate agents, brokers, dealers and real property owners. Owners List your Chennai properties for Rent or Sale for free.
chennai
coimbatore
Visit websites
nices information thanku so much
free classified submission sites list
kishorsasemahal
Trade Capital Options: IC Markets Offers Customers The Opportunity To Trade A Wide Array Of Assets And Financial Instruments With A 30p Per Lot Commission.
Thanks for sharing this great information with us. I really appreciate your writing skill. Plz visit
logo designing
business stationery printing
flyers printing designing
mugs printing designing
menu cards printing
shop branding services
poster printing designing
leaflets printing designing
id cards designing
For Download Subway Surfers Mod Apk
AeroGarden Bounty Vs Bounty Elite
Thanks for sharing your post.
Doctor Address
Asgar Ali Hospital Dhaka.
Central Hospital In Dhaka.
Covid Hospital In Dhaka.
Parkview Hospital Sylhet.
Popular Hospital Sylhet.
thanku so much this infromation
Wethinksolution
hi thanku so much this infromation
valueking
Forex is a nurturing environment for entrepreneurs who want to start a brokerage firm from the ground up. There are various critical elements in the process, and a trading platform is one of the most vital variables in determining how successful your business will be. White Label Forex Broker is an excellent means by which a trader can start a solid brokerage firm at ease!
برای ارایش صورت ماندگار باید از لوازم ارایش با کیفیت استفاده کرد.
Trading With Technical Analysis Is Easy And Convenient. Trades Are Executed Quickly And You Can Deposit Or Withdraw Your Money In Just A Few Clicks.
hi thanku so much
please take some time and visit to our sites if anybody is searching for jobs .
Skillbee is the best quest for new employment application.
skillbee
all job fujairah
Thank you so much for sharing such an intresting blog with us.
hi thanku so much this infromation thanku so much
cs executive
freecseetvideolectures/
tiktok jeton hilesi
tiktok jeton hilesi
referans kimliği nedir
gate güvenilir mi
tiktok jeton hilesi
paribu
btcturk
bitcoin nasıl alınır
yurtdışı kargo
I want the world to know about where to invest their hard earned money and get fruitful returns. If one is looking forward of investing he can go into investment of crypto coins.
You can invest in Fudxcoin company that deals in the selling and purchasing of Crypto Currency. It is a reliable company. One need not doubt in investing in it as i have also bought crypto currency from it and feeling very satisfied with their services.
crypto currency block chain technology
This blog is quite informative.But i want to give a useful piece of information.Does anyone one wants to enjoy the delcious food? that to from their favourite resturants. Here comes a company that is offering a wide variety of services like home food delivery, medicine delivery,grocery products and dairy products at the customers doorsteps. It is just a matter of a click, on their app (fudx app) and in no time, you will get your ordered products at your doorsteps.
food delivery medicine delivery dairy products grocery items
An obligation of appreciation is for sharing significant information. Your internet based diaries were helpful. I request to invigorate the blog through little by little. Moreover, find your blog.
visit here
Homoeopathy
Drshwetahomoeopathy
Thank you for sharing this valuable information with us.
Thirukkural pdf
Sai Satcharitra in English pdf
Sai Satcharitra in Tamil pdf
Sai Satcharitra in Telugu pdf
Sai Satcharitra in Hindi pdf
İnstagram takipçi satın al! İnstagram takipçi sitesi ile takipçi satın al sende sosyal medyada fenomen olmaya bir adım at. Sende hemen instagram takipçi satın almak istiyorsan tıkla:
1- takipçi satın al
2- takipçi satın al
3- takipçi satın al
Much obliged for sharing this brilliant substance. its extremely fascinating. Numerous web journals I see these days don't actually give whatever pulls in others however the manner in which you have plainly clarified everything it's truly awesome. There are loads of posts But your method of Writing is so Good and Knowledgeable. continue to post such helpful data and view my site too...
how to make a paper airplane eagle | how to make a boomerang airplane | the eagle paper airplane | best paper airplane design for distance and accuracy | best paper airplanes for distance and speed | what is the best paper airplane design for distance | paper airplane that flies far and straight | nakamura lock paper airplane instructions | paper airplane templates for distance | science behind paper airplanes | how to make a paper airplane that flies far and straight step by step
そのアニメ時間
Thank you so much for sharing such an intresting blog with us.
best jewellery software jewellery accounting software swarnapp software
Best Jewellery Software
Menyediakan Jasa Pembuatan Sertifikat TOEFL ITP dan IELTS Resmi Tanpa Test
Jasa Sertifikat TOEFL Asli dan Terpercaya
Very nice post thanks for sharing this post
Hanuman Chalisa Lyrics Pdf
Hanuman Chalisa Tamil Pdf
Hanuman Chalisa English Pdf
Hanuman Chalisa Telugu Pdf
Hanuman Chalisa malayalam Lyrics Pdf
Hanuman Chalisa Bengali Pdf
Hanuman Chalisa Gujarati pdf
Hanuman Chalisa Kannada PDF
Post a Comment