HTML & CSS · Senior · Question 18 of 75

How does asset bundling strategy change when moving from HTTP/1.1 to HTTP/2+?

Explanation

With HTTP/1.1 browsers keep ~6 connections per domain, so we concatenated files, used sprites and domain sharding. HTTP/2 and HTTP/3 multiplex requests over one connection, making those hacks less necessary or even harmful: one huge bundle invalidates the whole cache on any change. Dropping bundling entirely is still rare - compression and import chains still matter.

Further reading

Problem with a question

HTML & CSS · Senior · question 18

Test yourself

Take the HTML & CSS · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz