Adding nocache param for previews in ImageGen