add commit cache (feature #622)

That's not English. What does it mean? Commit to DB?