Dont save image twice when creating cache