Better caching.
Merge pull request #46 from nodesocket/rev1

Better caching.