DEV Community

Discussion on: Stop Bundling Scripts for Better Web Performance

Collapse
 
sebbdk profile image
Sebastian Vargr • Edited

Nice write up, good to hear others are having success with more parallel requests.

The newer https versions work better with many small requests, since they can do them in parallel.

The problem with parallel requests is that you lose gzips ability to compress duplicate code. So there needs to be a balance between compression loss and parallel packages.

Collapse
 
fleshmecha profile image

This is such a good point, because parallel requests (especially those cached by a service worker, like in my case) are faster than one single bundled file with a huge download time. I was reading an article about this yesterday actually, I'm glad I'm not the only one who thinks this way.