+ All Categories
Home > Internet > Unlearn your optimization skills. HTTP/2 is here

Unlearn your optimization skills. HTTP/2 is here

Date post: 13-Apr-2017
Category:
Upload: bjornjohansen
View: 106 times
Download: 5 times
Share this document with a friend
28
Unlearn your optimization skills: HTTP/2 is here
Transcript
Page 1: Unlearn your optimization skills. HTTP/2 is here

Unlearn your optimization skills:

HTTP/2 is here

Page 2: Unlearn your optimization skills. HTTP/2 is here
Page 3: Unlearn your optimization skills. HTTP/2 is here

HTTP/2 doesn’t change everything

Page 4: Unlearn your optimization skills. HTTP/2 is here

HTTP/2 is just a little different

Page 5: Unlearn your optimization skills. HTTP/2 is here

1991: HTTP V0.91996: HTTP V1.0199*: HTTP/1.1

2015: HTTP/22012: SPDY

Page 6: Unlearn your optimization skills. HTTP/2 is here

The HTTP Restaurant Browser is youServer is the kitchenConnection is the waiterAssets are the food

Page 7: Unlearn your optimization skills. HTTP/2 is here

The Restaurant: HTTP 1.0A sandwich1. Call for the waiter2. Order bread3. Waiter brings bread and leaves4. Call for the waiter5. Order cheese6. Waiter brings cheese and leaves7. Call for the waiter8. Order ham9. […]

Page 8: Unlearn your optimization skills. HTTP/2 is here

The Restaurant: HTTP/1.1A sandwich1. Call for 2–6 waiters2. Order 1 item from each waiter3. When a waiter brings an item,

he’ll stay at your table waiting for you to order more items

Page 9: Unlearn your optimization skills. HTTP/2 is here

The Restaurant: HTTP/2A sandwich1. Call for a waiter2. Order a sandwich3. Get the sandwich and a coffee,

with recommendations for other things you might like

Page 10: Unlearn your optimization skills. HTTP/2 is here

Setting up a connection1.TCP handshake2.TLS handshake3.TCP slow start

Page 11: Unlearn your optimization skills. HTTP/2 is here

HTTP/2 basics:Encrypt everything (HTTPS)

Page 12: Unlearn your optimization skills. HTTP/2 is here

HTTP/2 basics:Header compression

Page 13: Unlearn your optimization skills. HTTP/2 is here

HTTP/2 basics:1 connection

Page 14: Unlearn your optimization skills. HTTP/2 is here

HTTP/2 basics:Multiplexing

Page 15: Unlearn your optimization skills. HTTP/2 is here

HTTP/2 basics:Server Hints

Page 16: Unlearn your optimization skills. HTTP/2 is here

HTTP/2 basics:Server Push

Page 17: Unlearn your optimization skills. HTTP/2 is here

Optimizing

Page 18: Unlearn your optimization skills. HTTP/2 is here

Domain shardingNope

Page 19: Unlearn your optimization skills. HTTP/2 is here

Sprites Nope

Page 20: Unlearn your optimization skills. HTTP/2 is here

Minify and concatenate

Page 21: Unlearn your optimization skills. HTTP/2 is here

Server Hint: Prefetching

Page 22: Unlearn your optimization skills. HTTP/2 is here
Page 23: Unlearn your optimization skills. HTTP/2 is here
Page 24: Unlearn your optimization skills. HTTP/2 is here
Page 25: Unlearn your optimization skills. HTTP/2 is here

Server Push Get what you want,before you know it exists

Page 26: Unlearn your optimization skills. HTTP/2 is here

Browser Support:Chrome: YupFireFox: YupOpera: YupIE: v11 on Win 10Safari: Nope

Page 27: Unlearn your optimization skills. HTTP/2 is here

Server Support:Nginx: By end of 2015 Apache: No

Others: h2o, nghttp2

Page 28: Unlearn your optimization skills. HTTP/2 is here

Recommended