refactor cache report