45% of the popular websites use a javascript framework

You liked this post, share it !
3d_pie_chart-2

By crawling Alexa top 100 000 websites I found out that 45% of them use a Javascript framework and among those who use a framework 28% of them use Jquery.

I expected that more websites will use a framework but apparently many people like to do things by hands :) Anyway the following chart depicts how popular each framework is:

Javascript framework popularity breakdown

As one can see JQuery is by far the most used framework: 63% of the Alexa top 100 000 websites that use a javascript framework, choose it.  Prototype is their second choice with almost 13%. The third and fourth frameworks,  namely YUI and Mootool are not very far from prototype: Both of them have around 9% market share.   Accordingly if you are trying to decide which framework to learn or use JQuery is without any doubt the one that you will most likely encounter while working on various web apps.

Given that JQuery is so popular, I was curious to know which version is the most used.  The result of my data mining on this is summarized on the chart below. These numbers are only an approximation because some websites strip out the version of JQuery they are using.

Beside the obvious fact that the 1.3.2 version  is by far the most popular version with 51.25% this graph tell us that people do not update their javascript framework:  the 1.2.6 version is still used by 17.4% of the websites.  The question is why ? Why not updating their framework ?  I think it is a combination of two factors: On one hand developers are afraid of breaking things by updating their framework and on the other hand they don’t see the benefits of updating it.  If anyone can come up with a better explanation or stories/facts that support this hypothesis, I will love to hear it.

Finally since JQuery comes in two flavors : the regular version and the minified version, I was curious to know how many websites optimizing their loading time by using the  minified version. The surprising answer to this question is reported in the following chart:

 

JQuery Regular vs Minified Version Popularity

64% of the websites do not use a minified version of JQuery ! I don’t know for you but for me it came as a huge surprise. Why a website will use a non minifed version of JQuery in production ?

Thanks for reading this post and if you have some cool idea of statistics I should extract from the crawl database let me know :)

Elie Bursztein is a researcher at Google where he works on fixing Internet security and privacy problems.
  • Benoit C.

    merci pour les infos :-)

  • Elie

    De rien :)

  • Godric

    Have you got any idea how to compare how many of these jQuery propelled sites uses it in production environment and how many is just a few simple pages (or even a test site)? The popularity of regular version may speak for the latter.

    • Elie

      I only crawled the index page of the Alexa top 100 000. This mean that the data is only for production site.

  • Cam

    Interesting facts. Thanks for sharing. And nice comment section, i’m gonna copy someday :)

  • Krishna Kumar

    Interesting…

  • Pingback: jQuery or JavaScript? | Enlighten

  • http://twitter.com/mrPerezMarc Marc Perez

    Is there an update to these statistics? Also, I’d like to know which CDN, which version, and what path is the most used

    • https://elie.im Elie Bursztein

      Hi Marc,
      I haven’t rerun the crawler since I publish those statistics. If you just want the number of sites that use a JQuery you can look at: http://trends.builtwith.com/javascript/jQuery
      The breakdown by path and CDN is not available though. I did plan to do a re-run for a project I am working on, so I will post the results.

Popular blog posts
Latest social News
New survey: 19% of users use their browser private mode - http://t.co/2BTgm6SA #security #privacy #infosec #smo
19% of users use their browser private mode - http://t.co/ed2NqpaZ #security #privacy #infosec
1 day ago
Blizzard fixing GAME Australia's bankruptcy mess, giving Diablo 3 to those who preordered - http://t.co/JjpVm5X5 #d3 #diablo #diablo3
SessionJuggler Secure Web Login from an Untrusted Terminal Using Session Hijacking - http://t.co/IRQsBcVY #security #infosec #www2012...
Fascinating: An interview with a cybercriminal - http://t.co/amO1M5wN < guy operate a 10k botnet. #botnet #security #infosec