HTTP2
La nouvelle révolution du web
(ou pas)
Laurent Saint-Félix
Développeur
Arrière-guichet

Histoire
HTTP2
Demo(s)
HISTOIRE

Qui est-ce monsieur ?
Tim Berners-Lee
Tout s'enchaine
- HTTP/0.9 - 1991
- HTTP/1.0 - 1996 - RFC 1945
- HTTP/1.1 - 1997 - RFC 2068
- HTTP/1.1 - 1999 - RFC 2616
- ... Ou presque ...
2007 - HTTPBis-WG
SPDY/HTTP2
- 2009 - SPDY 1
- 2010 - Google Chrome
- 2011 - Twitter.com, Google.com
- 2012 - Apache, Nginx, Facebook, F5, Wordpress
- 25/09/2012 - HTTPBis > SPDY > HTTP2
- 2015 - HTTP2 Draft 17
- 2015 - http://www.ietf.org/blog/2015/02/http2-approved/
HTTP2
SSL/TLS Uniquement
(pour l'instant)
Binaire
Plus de telnet possible.
Wireshark + NSS Key Log Format
Multiplexage
Gestion de la priorité.
Gestion du cache.
Construit sur le protocole existant.


Server Push
La connexion est ouverte à l'initiative du navigateur.
Tant que le navigateur n'envoi pas de RST_STREAM la connexion reste ouverte.
Le serveur peut à tout moment envoyer de nouvelles informations au navigateur.

Photo by Steven Depolo
Ce qui ne change pas
- GET
- HEAD
- POST
- PUT
- PATCH
- DELETE
- TRACE
- OPTIONS
- CONNECT
Ce qui ne change pas
- 443 HTTPS
- 80 HTTP
- Mêmes en-têtes
- Même négociation
COMMENT
Les serveurs
Les navigateurs
- Firefox >= 31
- Chrome >= 31
- Safari >= 8
- Chrome Android
- Android Browser >= 4.1
- iOS >= 8
- ...
- IE >= 11 SI Windows 10
- Edge
Bibliothèques
Démos !
Démo 1
Démo 2
Statiques
Démo 3
Merci!
Des questions ?
HTTP2 Updated
By anaethelion
HTTP2 Updated
- 1,301
