07-04-2012, 02:05 AM
Hi I'm looking at adding a script/css bundling feature to my application.
However, I measured the before and after and found my load times were slower with the bundling enabled.
So I ended up creating a stripped down app to reproduce the problem.
IE8 with bundling:
http://www.webpagetest.org/result/120703...bdb582b8c/
IE8 without bundling:
http://www.webpagetest.org/result/120703...053a55634/
IE7 with bundling:
http://www.webpagetest.org/result/120703...5c072698a/
IE7 without bundling:
http://www.webpagetest.org/result/120703...a5dd39189/
The only browser where bundling seems faster is with IE7. I imagine this is because of it's 2 connection limit per domain and blocking script downloads.
Am I missing something here? I've always read bundling scripts and css were a best practice. Is that not the case with newer browsers?
However, I measured the before and after and found my load times were slower with the bundling enabled.
So I ended up creating a stripped down app to reproduce the problem.
IE8 with bundling:
http://www.webpagetest.org/result/120703...bdb582b8c/
IE8 without bundling:
http://www.webpagetest.org/result/120703...053a55634/
IE7 with bundling:
http://www.webpagetest.org/result/120703...5c072698a/
IE7 without bundling:
http://www.webpagetest.org/result/120703...a5dd39189/
The only browser where bundling seems faster is with IE7. I imagine this is because of it's 2 connection limit per domain and blocking script downloads.
Am I missing something here? I've always read bundling scripts and css were a best practice. Is that not the case with newer browsers?