Web Dev Performance Lab - combo handler
Does one big fat JS file load faster than many small JS files? Let's find out!
first let's simply make two files and see how long it takes to load the pages:
separate JS files
|
one JS file made from combohandler
then let's try to load them on one single page:
load combohandler first
|
load combohanler last
how about try testing two separate files with YCS (yahoo cache server, or any cache server)
combohandler + YCS
|
separate files + YCS
findings:
Loading one fat JS file isn't necessarily faster than loading several small files.
local image server is less buzier than yahooapis.com, so put your combo handlers here.