Cache only valid data