Fix null host Exception
Developer can choose whether to read from cahce image