Jump to main content

Nicolas Hoizey

  • articles
  • billets
  • links
  • notes
  • talks
  • archives
  • about

Note from 24 September 2020

  • Nicolas Hoizey
  • 24 September 2020
  • analytics, Google, Lighthouse, preconnect, WebPerf
  • 8 reactions

Looks like #Lighthouse now suggests me to preconnect to the Google Analytics domain…

Lighthouse suggests to preconnect to Google Analytics

…which I already do! 🤔

The server tells the browser to preconnect to Google Analytics

Anything wrong with my HTTP header?

8 reactions

1 like

  1. Matyo avatar

7 replies

  1. $!m0n avatar $!m0n
    Github issue about it : github.com/GoogleChrome/l…
    • 24 September 2020, 13:02
    • Source
  2. Nicolas Hoizey avatar Nicolas Hoizey
    Thanks!

    TIL `crossorigin` should not be used for Google Analytics preconnect. 🤯
    • 24 September 2020, 13:10
    • Source
  3. Anthony Ricaud avatar Anthony Ricaud
    Not sure this is the same issue. Could it be because it’s a HTTP header?
    • 24 September 2020, 13:57
    • Source
  4. Nicolas Hoizey avatar Nicolas Hoizey
    I removed the `crossorigin` and Lighthouse liked it.
    I followed @patrickhulce recommendation in the issue.
    • 24 September 2020, 13:58
    • Source
  5. Anthony Ricaud avatar Anthony Ricaud
    Oops, my bad.
    • 24 September 2020, 14:27
    • Source
  6. Nicolas Hoizey avatar Nicolas Hoizey
    no pb!
    • 24 September 2020, 14:28
    • Source
  7. $!m0n avatar $!m0n
    I got the same issue few weeks ago ;-)
    • 24 September 2020, 14:28
    • Source
  • Older: Note from 23 September 2020
  • Newer: Note from 25 September 2020

Related contents with similar topics

  1. screenshot of Why Lighthouse Performance Score Doesn’t Work

    Karolina Szczur avatar Karolina Szczur

    Why Lighthouse Performance Score Doesn’t Work

    • Nicolas Hoizey
    • 7 June 2024
    • WebPerf, Lighthouse
    • 2 reactions

    There is some correlation between the [Lighthouse] Performance Score and how well your site will do for real users. Still, lab testing alone doesn’t…

  2. Note from 24 April 2024

    • Nicolas Hoizey
    • 24 April 2024
    • image, JPEG XL, Lighthouse, photography, WebPerf
    • 3 reactions

    Should I please Lighthouse with modern image formats, or my visitors with progressive rendering of large images in my photography site? 🤔

    screenshot of Lighthouse score in SpeedCurve, with a recommendation to use modern image formats

    Of course, this would be much easier with genaralized JPEG XL support, both modern and allowing progressive… 🤷‍♂️

  3. Note from 21 March 2023

    • Nicolas Hoizey
    • 21 March 2023
    • Core Web Vitals, Google, WebPerf
    • 3 reactions

    Looks like Google likes it when we start improving websites performance! 🚀

    Screenshot of Google Search Console's Core Web Vitals report, with an increasing number of green pages

  4. Note from 21 December 2022

    • Nicolas Hoizey
    • 21 December 2022
    • Google, Lighthouse, WebPerf
    • 15 reactions

    Same page tested on PageSpeed Insights over a few hours the same day, without anything modified, and the desktop scores vary from 19 to 59… 🤷‍♂️

    A lot of businesses rely on this crap to now if their site is "fast" enough for Google SEO! 😭

    Three different scores: 44, 59, 19

  5. Note from 14 October 2022

    • Nicolas Hoizey
    • 14 October 2022
    • CLS, Core Web Vitals, Lighthouse, WebPerf
    • 4 reactions

    width and height attributes on <img> help prevent layout shifts (CLS). Values should be unitless integers.

    But #Lighthouse sees 100% as 100, thanks parseInt()…

    Do you think it should be improved?

    -> https://github.com/GoogleChrome/lighthouse/issues/14449

If you want to share an error or suggest an enhancement of this content, please edit the source on GitHub.

© Nicolas Hoizey

Built with Eleventy