Optimize for interactivity using Web Vitals (FID/TBT)

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 6

  • @jomat6151
    @jomat6151 4 года назад +1

    Regarding the web vitals small JS library, If I lazy load web vitals script(after page load), should the metrics(CLS, LCP) be correct?

    • @jomat6151
      @jomat6151 3 года назад

      @@kolappan There are certain grey areas when you do lazyload. First and foremost, there is a high probability of losing accurate Largest Contentful Paint metrics. By the time, your lazyload library attach performance observer your browser might already started rendering image resources. So metrics won't correct.

  • @munnireddy3126
    @munnireddy3126 3 года назад +2

    What would be the cause for HIGH FID on mobile?
    My desktop FID is good but mobile is bad

  • @Textras
    @Textras 4 года назад

    Use the library, Luke.

  • @guiguicdd
    @guiguicdd 3 года назад

    Hello :)