move cache creation to zprofile