commit cache (feature #622)