How does HTTP/2 improve on HTTP/1.1 for a React app talking to an API?
PICTURE THIS: A REST CALL
Simple meaning
HTTP/2 multiplexes many streams over one TLS connection, reducing head-of-line blocking from many small asset requests.
WHY — HTTP instead of guessing?
Why interviewers care about HTTP:
question about HTTP.
trade-offs, and what you would actually do on a Full Stack project - not buzzwords.
Name the idea, why it exists, then one short example.
End with when you use it and one common pitfall.
STEPS — What happens step by step?
Before you speak the answer, walk the interviewer through these steps:
- 1HTTP/2 multiplexes many streams
over one TLS connection, reducing head-of-line blocking from many small asset requests.
- 2Header compression also cuts
repeated header cost.
- 3You still need good
caching and a small JS bundle
- 4HTTP/2 is not a
substitute for performance work.
- 5Common mistake
What juniors usually get wrong.
- 6Close
When you pick this over the alternative.
EXAMPLE — See it in action
Here's a short line you can speak, broken into clear beats:
Note: Adapt this scaffold to your own project — keep it under 60–90 seconds.
Key takeaway
HTTP/2 multiplexes many streams over one TLS connection, reducing head-of-line blocking from many small asset requests. Header compression also cuts repeated header cost.