HTTP/2: Ask Me Anything
-
Upload
nginx-inc -
Category
Technology
-
view
332 -
download
0
Transcript of HTTP/2: Ask Me Anything
![Page 1: HTTP/2: Ask Me Anything](https://reader035.fdocuments.in/reader035/viewer/2022062900/58eccac21a28abef1e8b4741/html5/thumbnails/1.jpg)
HTTP/2: Ask Me Anything
11 Nov 2015
![Page 2: HTTP/2: Ask Me Anything](https://reader035.fdocuments.in/reader035/viewer/2022062900/58eccac21a28abef1e8b4741/html5/thumbnails/2.jpg)
MORE INFORMATION AT NGINX.COM
Who are we?
Valentin BartenevCore Developer
• SPDY and HTTP/2 lead developer
• Author, “7 Tips for Faster HTTP/2 Performance”.
Faisal MemonProduct Marketer
Floyd SmithTechnical Marketing Writer
• Author, “HTTP/2 for Web Application Developers”
![Page 3: HTTP/2: Ask Me Anything](https://reader035.fdocuments.in/reader035/viewer/2022062900/58eccac21a28abef1e8b4741/html5/thumbnails/3.jpg)
MORE INFORMATION AT NGINX.COM
How NGINX Supports HTTP/2
NGINX translates HTTP/2 to the language your application speaks
![Page 4: HTTP/2: Ask Me Anything](https://reader035.fdocuments.in/reader035/viewer/2022062900/58eccac21a28abef1e8b4741/html5/thumbnails/4.jpg)
MORE INFORMATION AT NGINX.COM
HTTP/1
HTTP/2
GET /
GET /a.css
GET /b.jpg
200 OK
200 OK
200 OK
![Page 5: HTTP/2: Ask Me Anything](https://reader035.fdocuments.in/reader035/viewer/2022062900/58eccac21a28abef1e8b4741/html5/thumbnails/5.jpg)
MORE INFORMATION AT NGINX.COM
HTTP/1.x and HTTP/2 Compared
Browsers typically makes 6 connections per domain with HTTP/1.x
![Page 6: HTTP/2: Ask Me Anything](https://reader035.fdocuments.in/reader035/viewer/2022062900/58eccac21a28abef1e8b4741/html5/thumbnails/6.jpg)
MORE INFORMATION AT NGINX.COM
HTTP/1
HTTP/2
![Page 7: HTTP/2: Ask Me Anything](https://reader035.fdocuments.in/reader035/viewer/2022062900/58eccac21a28abef1e8b4741/html5/thumbnails/7.jpg)
MORE INFORMATION AT NGINX.COM
HTTP/2: Summary of Features
• Binary Header – Smaller header size
• Request Prioritization – Define what objects should be prioritized
• Server Push – Server pushes resources to client before it requests it
• Header Compression – HPACK header compression reduces size of HTTP/2 header
• Mandatory SSL – Not mandated by RFC but Chrome and Firefox won’t support without it
• More secure websites• Higher search rankings for encrypted sites
![Page 8: HTTP/2: Ask Me Anything](https://reader035.fdocuments.in/reader035/viewer/2022062900/58eccac21a28abef1e8b4741/html5/thumbnails/8.jpg)
MORE INFORMATION AT NGINX.COM
HTTP/2 Support
Source: caniuse.com/#feat=http2
![Page 9: HTTP/2: Ask Me Anything](https://reader035.fdocuments.in/reader035/viewer/2022062900/58eccac21a28abef1e8b4741/html5/thumbnails/9.jpg)
MORE INFORMATION AT NGINX.COM
How NGINX Supports HTTP/2
• Supported in both NGINX Plus R7 and NGINX 1.9.5
• Pre-built Linux binaries are built with OpenSSL 1.0.1• ALPN is supported but requires OpenSSL 1.0.2• Compile from source to use ALPN
• SPDY and HTTP/2 not supported in the same binary
• No Server Push yet...
![Page 10: HTTP/2: Ask Me Anything](https://reader035.fdocuments.in/reader035/viewer/2022062900/58eccac21a28abef1e8b4741/html5/thumbnails/10.jpg)
MORE INFORMATION AT NGINX.COM
NGINX HTTP/2 Configuration
server { listen 80; return 301 https://$host$request_uri;}
server { listen 443 ssl http2 default_server;
ssl_certificate server.crt; ssl_certificate_key server.key; …}
![Page 11: HTTP/2: Ask Me Anything](https://reader035.fdocuments.in/reader035/viewer/2022062900/58eccac21a28abef1e8b4741/html5/thumbnails/11.jpg)
MORE INFORMATION AT NGINX.COM
Try NGINX Plus
• Support development of open source NGINX
• Get direct access to NGINX engineers
• Additional features:• Active health checks• Session Persistence• Cache Purging• And more…
• Starting at $1,500/year
• Learn more: nginx.com/products
![Page 12: HTTP/2: Ask Me Anything](https://reader035.fdocuments.in/reader035/viewer/2022062900/58eccac21a28abef1e8b4741/html5/thumbnails/12.jpg)
Your Questions...