Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Good, The Bad, and The Ugly of the HTTP Arc...

Dean Hume
September 17, 2014

The Good, The Bad, and The Ugly of the HTTP Archive

Presented at Velocity Conference, September 2014.

The web is a fascinating place. Every day millions of websites around the world are constantly evolving and growing. Fortunately, great resources such as the HTTP archive capture statistics from over 300K URLS, and provide us with useful insights into the world of web performance.

http://deanhume.com
http://robinosborne.co.uk

Dean Hume

September 17, 2014
Tweet

More Decks by Dean Hume

Other Decks in Technology

Transcript

  1. HTTP Archive • Started in November 2011 • Contains over

    300K URLs • Both Mobile and Desktop sites
  2. The Criteria • The Alexa top 100 sites have been

    excluded from this list • The site needs to be usable and modern
  3. The Criteria • The Alexa top 100 sites have been

    excluded from this list • The site needs to be usable and modernmodern(ish)
  4. The Criteria • The Alexa top 100 sites have been

    excluded from this list • The site needs to be usable and modern • Follows best practices modern(ish)
  5. The Criteria • The Alexa top 100 sites have been

    excluded from this list • The site needs to be usable and modern • Follows best practices • Not a porn site modern(ish)
  6. The Criteria • The Alexa top 100 sites have been

    excluded from this list • The site needs to be usable and modern • Follows best practices • Not a porn site (sorry) modern(ish)
  7. The Criteria • The Alexa top 100 sites have been

    excluded from this list • The site needs to be usable and modern • Follows best practices • Not a porn site (sorry) • Bonus points for a responsive site modern(ish)
  8. Key takeaway • Super fast holding pages • Super fast

    porn sites Http Archive + Big Query is a great way to find:
  9. Fully loaded A time measurement that includes any activity that

    is triggered by JavaScript after the main page loads.
  10. Page Speed The PageSpeed Score (0- 100) is calculated on

    a number of factors. A high score is good. A low score is not so good.
  11. Speed Index Speed Index measures how complete a page is

    during various points in page load A low score is good. A high score is not so good.
  12. SELECT url, pagespeed, SpeedIndex, fullyLoaded, rank FROM [httparchive:runs.latest_pages] WHERE (rank

    is not null) and (speedindex is not null) and pagespeed > 80 ORDER BY rank asc, pagespeed desc, speedindex asc limit 1000 ;
  13. filament group • 8-person development studio based all around the

    US • Develop a wide range of sites and apps • Responsive website
  14. “How we load assets matters just as much as how

    many assets we’re loading. We focus on perceived performance”
  15. nature.com • Scientific journal for research across a wide range

    of fields • Part of the Macmillan publishing group • Responsive website • Based in London, UK
  16. “ We try to stick to the 14 rules as

    outlined in High Performance Web Sites ”
  17. Online restaurant guide - Based in New Delhi, India -

    13 countries in 5 languages - Responsive site - zomato.xxx -
  18. “A blank page is always going to be the fastest,

    start from there. Add only what is needed.”
  19. envato marketplaces ➔ Specializes in online marketplaces ➔ Based in

    Melbourne, Australia ➔ Themeforest, CodeCanyon
  20. welovefashion.it ➔ Visually complete in 20 secs ➔ Fully loaded

    in 30 secs ➔ 3.5 MB of resources are downloaded
  21. gu-japan.com ➔ 15.5 MB of images are loaded ➔ Visually

    complete in 16 secs ➔ Fully loaded in 35 secs
  22. gu-japan.com ➔ 15.5 MB of images are loaded ➔ Visually

    complete in 16 secs ➔ Fully loaded in 35 secs ➔ 717 HTTP requests
  23. 1%

  24. 44

  25. sailboatlistings.com • Fully loaded in 18 secs • Visually complete

    in 20 secs • 3 MB total • 580 requests in total
  26. sailboatlistings.com • Fully loaded in 18 secs • Visually complete

    in 20 secs • 3 MB total • 580 requests in total • 535 image requests
  27. sailboatlistings.com • Fully loaded in 18 secs • Visually complete

    in 20 secs • 3 MB total • 580 requests in total • 535 image requests • 14872 dom elements
  28. 14

  29. colorsbycherry.com 34 MB of resources Fully loaded in 1 min

    Visually complete in 30 secs say what!?
  30. 11

  31. callofduty.com 15.2 MB of resources Visually complete in 1.3 secs

    Fully loaded in 13 secs Page Speed score of 11 callofduty.com
  32. psi • Page Speed Insights • Get PSI reporting from

    the command line • On GitHub, by Addy Osmani • Can be hooked into a build process via the Gulp or Grunt plugins