• Resolved mariomesiti

    (@mariomesiti)


    Hello,
    I noticed that FVM puts the viewport meta tag AFTER the link rel=”preload” tags. In my case I am preloading the image supposed to be the LCP responsively, that is, using a imagesrcset attribute. However the browser isn’t able to determine the image correctly due to the fact that the meta viewport tag comes AFTER in markup (it loads two images instead of just one)

    Reference: https://medium.com/@francis.john/viewport-and-media-query-based-preloading-87db30ff6d5f

    Proposed fix: move the viewport meta tag on top of all other link rel=”preload” tags.

    Please let me know. Thanks

    Mario

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Viewport meta after preload links breaks image preloading’ is closed to new replies.