persist and load host cache