I am using the image_url feature with image_tag, but when I apply the preload filter, I do not see any additional links being added to the head of the document.
Filter documentation:
https://shopify.dev/docs/api/liquid/filters/image_tag#image_tag-preload
Example:
{{ image_standard | image_url: width: image_standard.width | image_tag: preload: true }}
I do get a rendered image in my template as expected from the image_tag property… but I don’t see any proof of that image being preloaded. I would expect to see something a link tag with a path to the image as described in the documentation.
Link: <IMAGE_URL>; rel=preload; as=image
Link: <IMAGE_URL>; rel=preload; as=image; imagesrcset=ADDITIONAL_IMAGE_URL 352w; imagesizes=40vw
Anyone else having this issue, or can someone show me a snippet example of preload working with a screen shot of the request log or document head with the preload reference.