Performance tools (Lighthouse) show very slow "Time to Interactive" on my Gatsby site. How can I improve it? #26039
-
Hello! I'm looking for some help. My website is getting a very low time to interactive score (over 10 seconds). It tells me I need to "Minimize main-thread work" and "Reduce JavaScript execution time". Could you share some advice/tips on what I can do? How do you improve these metrics in your projects? From googling, it seems like the main thing people do is code splitting, but Gatsby does that automatically already, right? What else can be done? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
#25722 touches base on this and the comment linked on that thread additionally touch base that this seems to have to do with lighthouse v6.1 which was released very recently now has diagnostics for main-thread blocking tasks. Even the official gatsbyjs.org site have lower lighthouse scores now since the lighthouse updates it seems. |
Beta Was this translation helpful? Give feedback.
#25722 touches base on this and the comment linked on that thread additionally touch base that this seems to have to do with lighthouse v6.1 which was released very recently now has diagnostics for main-thread blocking tasks. Even the official gatsbyjs.org site have lower lighthouse scores now since the lighthouse updates it seems.
Your site, and gatsby sites are still fast, but the score taking such a big hit is definitely daunting.