cache downloaded image