Add cache check for CPM.