neat idea on vox.com

Posted by Ian Holsman Tue, 21 Nov 2006 10:51:00 GMT

I was look at six apart’s newly launched vox blog server, and noticed their javascript/css server.

aka-static.vox.com

what is neat about it is that it does concatenates several files into one when it serves the request (as well as compressing javascript on the fly)

for example. instead of having 5-10 seperate script references, they combine it into one call.

http://aka-static.vox.com/.shared:v17.1:vox:en_us/js/core.js,dom.js

concatenates the core.js and dom.js files together before it serves it.

if you append a ‘c’ it will serve the compressed version of it.

http://aka-static.vox.com/.shared:v17.1:vox:en_us/js/core.jsc,dom.jsc

from a performance viewpoint, this should speed up page delivery for high-latency clients, and makes it easy to upgrade your javascript versions (and locale) as you only need to do it in one place.

Posted in  | Tags , ,  | 2 comments | no trackbacks