neat idea on vox.com
Posted by Ian Holsman
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.
They’ve been doing this at LiveJournal for a while too. It’s just part of perlbal (their open source load balancer), I think.
I feel kinda famous. :)
I came up with the idea and wrote the perlbal plugin. aka-static also uses akamai to cache the data.
Cheers! Xantus
xantus.vox.com