gatsbyjs.org's very low Lighthouse score #29097
Replies: 2 comments 1 reply
-
Looks like the case for “barefoot shoemaker” |
Beta Was this translation helpful? Give feedback.
-
There's not really a good excuse unfortunately, but what I can say is gatsby has a number of "starters" you can use to get you going with a good idea of performance. For example, https://www.gatsbyjs.com/starters/gatsbyjs/gatsby-starter-blog, scores near perfectly with lighthouse. Ultimately, it's what you and your team add that will slow down the scores, at least from my experience. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I was chatting another developer yesterday who was considering what tech to use for a new site. We got to talking about Gatsby (vs NextJs) and I encouraged him to use Gatsby. A little while after we chatted he sent me this (from Google Page Speed Insights):
He asked me why Gatsby's own site performed so poorly. I don't really have a good answer, so I thought I'd raise it here rather than adding it to what has become an unfocussed issue on performance. I imagine anyone trying to pitch using Gatsby is going to be met with a similar response. 'If Gatsby is so optimised, why does its own site perform so poorly?'
Here is the same set of metrics from Lighthouse (in Incognito tab):
I know there is great work going on to improve Gatsby Image in relation to these metrics, but surely there are other factors at play here, for example the TBT.
Looking at the blocking in the profiler this happens during Gatsby's booting and React's hydration:
Beta Was this translation helpful? Give feedback.
All reactions