Skip to content
ADHDecode
  1. Home
  2. Articles
  3. HTTP/2

HTTP/2 Articles

48 articles

Enable HTTP/2 on Your CDN for Faster Asset Delivery

HTTP/2 dramatically speeds up web asset delivery by allowing a single TCP connection to multiplex multiple requests and responses concurrently, eliminat.

3 min read

Use HTTP/2 Without TLS with h2c for Internal Services

HTTP/2 can run over a cleartext connection using the h2c upgrade mechanism, and it's surprisingly useful for internal services where TLS overhead isn't .

2 min read

Configure HTTP/2 Connection Parameters: Streams, Flow Control, SETTINGS

HTTP/2 doesn't just make connections faster; it fundamentally changes how data flows, using multiplexed streams and sophisticated flow control to avoid .

4 min read

Test HTTP/2 Endpoints with curl and Check Protocol Negotiation

Test HTTP/2 Endpoints with curl and Check Protocol Negotiation. HTTP/2 is actually slower to establish a connection than HTTP/1. 1, but it wins later

3 min read

Debug HTTP/2 Issues with Browser DevTools and Wireshark

You're seeing weird HTTP/2 behavior in your browser, and the usual suspects aren't cutting it. The core issue is that HTTP/2's multiplexing and header c.

5 min read

Speed Up Page Loads with HTTP 103 Early Hints in HTTP/2

HTTP 103 Early Hints can make your pages feel instantaneous by sending critical resources before the server even finishes processing the main request.

3 min read

Understand HTTP/2 Flow Control and Prevent Sender Stalling

HTTP/2 flow control is fundamentally a credit-based system designed to prevent a fast sender from overwhelming a slow receiver, but most people think of.

3 min read

HTTP/2 Frame Types Explained: DATA, HEADERS, SETTINGS, PUSH_PROMISE

HTTP/2 frames don't actually contain the HTTP request or response data you're used to; they're more like building blocks that the protocol uses to assem.

3 min read

Get Started with HTTP/2: What Changes and What Stays the Same

Get Started with HTTP/2: What Changes and What Stays the Same — HTTP/2 is a protocol that's faster than HTTP/1.1, but it's not magic; it's a set of clev...

3 min read

Handle HTTP/2 GOAWAY Frames for Graceful Connection Shutdown

HTTP/2 GOAWAY frames are the mechanism by which a server signals its intent to gracefully shut down an HTTP/2 connection, telling the client to stop sen.

3 min read

Enable HTTP/2 in Go with net/http and crypto/tls

Go's net/http and crypto/tls packages make enabling HTTP/2 surprisingly straightforward, but most people miss the subtle interplay with TLS version nego.

3 min read

How gRPC Uses HTTP/2 for Multiplexed RPC Calls

gRPC's magic isn't in its RPC framework, but in how it leverages HTTP/2 to send many distinct, independent requests over a single, long-lived connection.

4 min read

How HTTP/2 Eliminates Head-of-Line Blocking at the HTTP Layer

HTTP/2 gets rid of head-of-line HOL blocking at the HTTP layer by multiplexing requests and responses over a single TCP connection.

2 min read

How HPACK Compresses HTTP/2 Headers Without Repeated Bytes

How HPACK Compresses HTTP/2 Headers Without Repeated Bytes — practical guide covering http2 setup, configuration, and troubleshooting with real-world ex...

3 min read

Enable HSTS with HTTP/2 for Secure-Only Connections

HTTP Strict Transport Security HSTS and HTTP/2 are both fundamental security and performance technologies for modern web applications, and enabling them.

3 min read

Enable HTTP/2 in Java with Jetty

Jetty's HTTP/2 support is surprisingly easy to enable, but it requires a specific keystore format that trips up most people.

2 min read

Configure Kubernetes Ingress to Serve HTTP/2

HTTP/2 support is often treated as a magic switch, but the reality is that Kubernetes Ingress controllers don't automatically enable it; you have to exp.

4 min read

Load Balance HTTP/2 Traffic with Sticky Sessions and Stream Routing

HTTP/2 traffic can be load balanced with sticky sessions and stream routing, but the common understanding of "sticky sessions" doesn't fully capture how.

4 min read

Load Test HTTP/2 Servers with h2load and Locust

h2load is a command-line tool that can be used to load test HTTP/2 servers. Locust is a Python-based load testing tool that can be used to simulate user.

4 min read

Manage Long-Lived HTTP/2 Connections in APIs and Webhooks

HTTP/2's multiplexing capabilities can actually make long-lived connections less efficient for certain API and webhook scenarios if you're not careful.

3 min read

Use HTTP/2 as the Transport for Internal Microservice Communication

HTTP/2 as the transport for internal microservice communication is surprisingly a net negative for latency in most common microservice patterns.

2 min read

Migrate from HTTP/1.1 to HTTP/2 Without Breaking Your Application

HTTP/2 isn't just about speed; it's a fundamental shift in how clients and servers communicate, designed to eliminate the performance bottlenecks inhere.

3 min read

How HTTP/2 Multiplexing Sends Multiple Requests Over One Connection

HTTP/2 multiplexing lets you send many requests and responses at once over a single TCP connection, making web pages load way faster.

3 min read

Inspect and Test HTTP/2 Traffic with nghttp2 CLI Tools

HTTP/2 is surprisingly bad at gracefully handling network interruptions, often causing clients to drop connections entirely even for minor blips.

3 min read

Enable HTTP/2 in Nginx with http2 Directive

Enable HTTP/2 in Nginx with http2 Directive — HTTP/2 isn't just a faster HTTP/1.1; it's a fundamentally different protocol that fixes the core ine.

2 min read

Enable HTTP/2 in Node.js with the http2 Module

Enable HTTP/2 in Node.js with the http2 Module — Node.js gained built-in HTTP/2 support in version 8.4.0, but you'd be forgiven for missing it, as it.

3 min read

Benchmark HTTP/2 vs HTTP/1.1 Performance Gains

Benchmark HTTP/2 vs HTTP/1.1 Performance Gains — HTTP/2 is fundamentally the same protocol as HTTP/1.1, but it's significantly faster because it allo.

3 min read

Tune HTTP/2 Settings for Maximum Throughput and Low Latency

HTTP/2 doesn't actually make your website faster by itself; it's a set of instructions for how clients and servers should talk, and you have to tune it .

4 min read

Send HTTP/2 PING Frames to Keep Connections Alive

HTTP/2 PING frames are a surprisingly effective way to keep idle connections alive, and they work by sending a small, unsolicited message that the other.

3 min read

Deploy HTTP/2 in Production: Checklist and Configuration

Deploy HTTP/2 in Production: Checklist and Configuration — HTTP/2 is actually slower than HTTP/1.1 for some traffic patterns, but its benefits in multip...

3 min read

HTTP/2 Server Push vs Link: preload Header — What Works Better

HTTP/2 Server Push is often touted as a way to shave milliseconds off page load times by sending resources before the client even asks for them, but in .

3 min read

Real-World HTTP/2 Performance Gains from Major Sites

HTTP/2 adoption is surprisingly widespread, but its actual performance impact is often less dramatic than advertised, with many sites seeing only minor .

3 min read

HTTP/2 Security Best Practices: TLS, HSTS, and Cipher Suites

HTTP/2 Security Best Practices: TLS, HSTS, and Cipher Suites — HTTP/2 offers a significant performance boost over HTTP/1.1, but its security relies heav...

4 min read

Why HTTP/2 Server Push Was Deprecated and What Replaced It

HTTP/2 Server Push was deprecated because it often made performance worse by pushing resources the browser didn't need, leading to wasted bandwidth and .

3 min read

Push Critical Resources with HTTP/2 Server Push

Push Critical Resources with HTTP/2 Server Push — practical guide covering http2 setup, configuration, and troubleshooting with real-world examples.

2 min read

Configure HTTP/2 SETTINGS Frames for Server Tuning

HTTP/2's SETTINGS frames are surprisingly complex, and most servers are deployed with default values that actively hinder performance.

4 min read

Set Up SSL Certificates for HTTP/2 Connections

HTTP/2 actually makes TLS the protocol behind SSL/HTTPS mandatory for most browsers, turning a security feature into a performance requirement.

2 min read

Prioritize HTTP/2 Streams to Control Resource Loading Order

HTTP/2 streams can be prioritized to influence the order in which resources are loaded, preventing critical elements from being blocked by less importan.

3 min read

Negotiate HTTP/2 via TLS ALPN Extension

HTTP/2 over TLS isn't just a faster version of HTTP; it's fundamentally a different protocol that happens to share the same port and often the same IP a.

2 min read

Fix Common HTTP/2 Errors: RST_STREAM, PROTOCOL_ERROR, and GOAWAY

The RSTSTREAM error means a client or server abruptly terminated a specific HTTP/2 stream, usually due to an unrecoverable issue on that stream's path.

5 min read

HTTP/2 vs HTTP/1.1: What Changed and When Each Wins

HTTP/2, despite being older than you might think, is still a surprisingly misunderstood protocol, and most people assume it's just "faster HTTP/1.

3 min read

HTTP/2 vs HTTP/3: What QUIC Adds That TCP Cannot

HTTP/2 vs HTTP/3: What QUIC Adds That TCP Cannot — practical guide covering http2 setup, configuration, and troubleshooting with real-world examples.

3 min read

Control HTTP/2 Flow with WINDOW_UPDATE Frames

HTTP/2's flow control isn't a simple "go fast" or "slow down" switch; it's a granular, byte-by-byte negotiation managed by WINDOWUPDATE frames.

3 min read

Capture and Analyze HTTP/2 Traffic with Wireshark

HTTP/2, despite its speed and efficiency gains, makes capturing and analyzing its traffic with Wireshark significantly more complex than its predecessor.

4 min read

Enable HTTP/2 in Apache with mod_http2

Enable HTTP/2 in Apache with mod_http2 — HTTP/2 isn't just faster than HTTP/1.1; it's fundamentally a different protocol that makes multiple .

2 min read

Configure an API Gateway to Serve HTTP/2

HTTP/2's multiplexing can dramatically improve performance by allowing multiple requests over a single connection, but most API Gateways default to HTTP.

3 min read

How HTTP/2 Binary Framing Replaces HTTP/1.1 Text Protocol

HTTP/2's binary framing layer is a fundamental shift from HTTP/1. 1's text-based protocol, and it's the primary reason for its performance improvements

3 min read

Check Which Browsers Support HTTP/2 and How to Test It

HTTP/2 is the modern standard for web communication, and most major browsers support it, but knowing how to check and ensure your server is speaking it .

2 min read
ADHDecode

Complex topics, finally made simple

Courses

  • Networking
  • Databases
  • Linux
  • Distributed Systems
  • Containers & Kubernetes
  • System Design
  • All Courses →

Resources

  • Cheatsheets
  • Debugging
  • Articles
  • About
  • Privacy
  • Sitemap

Connect

  • Twitter (opens in new tab)
  • GitHub (opens in new tab)

Built for curious minds. Free forever.

© 2026 ADHDecode. All content is free.

  • Home
  • Learn
  • Courses
Esc
Start typing to search all courses...
See all results →
↑↓ navigate Enter open Esc close