Implemented another cache logic.