Cache reference document image.