Hi all,
Eventually it evolved into more or less complete middleware for nodejs.
I'm not much of a javascript/node programmer, so it may look a little bit ugly:) I'll happily receive any critics, comments, suggestions or pull-requests:)
Still, part (dictionary generation) of the SDCH framework is missing, but you can use
https://github.com/gtoubassi/femtozip to create dictionaries. But it works quite slowly( I'm thinking on a better approach.
Although its not quite production-level solution (nginx module will be more suitable for that:)), I hope the community may find all this useful to do some testing and try SDCH.