[ANN] mod_concat
Posted by Ian Holsman
I’ve just created a new module for the apache webserver 2.2 which implements one of Brad’s features of perlbal.
The ability to concatenate CSS or javascript files into a single HTTP request.
the request will look like: http://hostname/cdn/??music2.js,mp.js,dir1/dalai_llama.js,ratings_widget.js,widget_config.js,common.js
my initial testing shows a performance gain of about 1 second when I request a file from the other side of the pacific ocean.
you can try it out yourself: with concat / without concat
The multiple host names reflect the original page going to multiple hosts to retrieve the files (which are on multiple CDNs)
firebug shows the following:
from

to

code is hosted on: googlecode
BTW, I wrote the concat plugin for perlbal, not Brad. I came up with the idea while working on Vox.
Sorry David.. I’ll adjust the credits.