How does HTTP/2 affect the performance benefits of code splitting?
HTTP/2 reduces the overhead of multiple requests through features like multiplexing and server push, making more granular code splitting viable. With HTTP/1.1, each request had significant overhead, limiting how many chunks an application could practically use. HTTP/2 removes much of this limitation, allowing applications to split into more, smaller chunks without the performance penalty of multiple requests. This enables more targeted code loading strategies where users download only the specific features they use, further improving performance.