Browser & Web Performance · Senior · Question 32 of 75

With HTTP/2 or HTTP/3, why might bundling everything into one JS file still not be ideal?

Explanation

Multiplexing reduces the cost of many requests, so finer-grained chunks give better caching. Too many tiny files still have overhead.

Further reading

Problem with a question

Browser & Web Performance · Senior · question 32

Test yourself

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

Take this quiz