5 ms·
It seems that concatenating scripts could hurt performance in browsers that can do parallel script downloading, since it can no longer take advantage of the par
by tlrobinson 18y ago
It seems that concatenating scripts could hurt performance in browsers that can do parallel script downloading, since it can no longer take advantage of the parallelism.
- axod 18y agoIt's be an interesting one to test, although I'd expect the gain in compression is worth it. eg gzip(concat(A, B)) compresses to a smaller file than gzip(A) + gzip(B) For example, if I take 20 js files from Mibbit and gzip them individually, total size is 47,890 If I concat then gzip, it's 42,681