yireo / Yireo_NextGenImages

44 stars 26 forks source link

Fastly not loading image data into json #35

Closed sunilit42 closed 4 months ago

sunilit42 commented 2 years ago

Hello

IN cloud, when we go from product list page to product page we are facing issue

<type name="Magento\Catalog\Block\Product\View\Gallery">
        <plugin name="Yireo_NextGenImages::addImagesToGalleryImagesJson" type="Yireo\NextGenImages\Plugin\AddImagesToGalleryImagesJson"/>
    </type>

this plugin not working that time, but when i append something into url then refresh (fresh) then works fine

jissereitsma commented 2 years ago

Could you do a little bit more investigation here? If you are generating a page without the proper HTML picture tags being present (because there are no WebP images yet available) and you are caching that page in Fastly, then indeed the page is cached without the WebP images inserted. If you then refresh the cache in Fastly, the images should be created. Or they are not created. Or they are created but not in Fastly. Or they are never created because of some issue. Or whatever. With only the information you posted available, I would say that "things happen".

sunilit42 commented 2 years ago

Hello,

When we go product list to pdp >> some how Yireo_NextGenImages plugin is not calling so json is not creating with webp images

so webp image is not calling on that page

But if i m opening same url with ?v=11 json is creating with proper webp image

jissereitsma commented 4 months ago

I'm closing this ticket due to inactivity.