Clear caches once -- at the beginning of the commit -- so more writes can be queued behind it.