commit cache functions