HTTP/2とは何か?
HTTP/2は、単一のTCP接続上で複数の同時リクエストとレスポンスをインターリーブされたstreamとして送信するHTTPプロトコルのバージョンです。ヘッダーを圧縮し、server pushをサポートすることで、HTTP/1.1を遅くしていたオーバーヘッドとラウンドトリップを削減します。メソッドとステータスコードのセマンティクスは、以前のHTTPと同じままです。
なぜ重要か
HTTP/1.1は接続あたりの並行性を制限し、ブラウザに多数の接続を開かせ、リクエストをキューに入れることを強いていました。HTTP/2の多重化はそのボトルネックを取り除き、多くのassetを持つページの読み込み時間を改善します。
関連ガイド
What Is HTTP/3?HTTP/3 is the version of HTTP that runs over QUIC instead of TCP, avoiding head-of-line blocking and speeding…
TLS Handshake - CI/CD Glossary DefinitionA TLS handshake negotiates the cipher and exchanges keys to secure a connection after TCP connects, adding ro…
What Is Brotli Compression?Brotli is a compression algorithm widely used for HTTP responses that typically achieves smaller text payload…