add commit cache (feature #622)

This looks like it's supposed to be 3 words, so it should be `flushCommitQueued` then.