add commit cache (feature #622)

"set nodes to DB"?