$30 off During Our Annual Pro Sale. View Details »

Know thy buzzwords: HTTP/2

Surma
July 13, 2017

Know thy buzzwords: HTTP/2

Fullstack Conf 2017

Surma

July 13, 2017
Tweet

More Decks by Surma

Other Decks in Technology

Transcript

  1. History HTTP HTTP/0.9 HTTP/1.0 HTTP/1.1 SPDY/2 HTTP/2 1991 1996 1997

    2012 2015 bit.ly/surma-http2 Talk from CDS 2015
  2. h2 capable h2 enabled h2 unsupported 7,200 ms 5,325 ms

    6,160 ms Time to mobile load event Sample is 1 month of data on https://next.ft.com 26%
  3. index.html styles.css webfont.css webfont.woff <link> @import @font-face 14K 1.4K 800B

    12K Back-of-napkin math: Total data: 28.4K Data transfer time: 37ms # of RTTs: 4 Total time: 437ms
  4. bit.ly/jake-push TL;DR: – Massive inconsistencies between browsers – Not pushing

    things that are already in the cache is a hard problem – Don’t even think about pushing anything but GET