Reputation: 1507
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?
Upvotes: 2
Views: 1914
Reputation: 5988
You have quite a good Lighthouse Score. Try to test your page in anonymous mode to disable extensions.
However, you can improve it.
import * from 'lodash'
change it to import {groupBy} from 'lodash'
Do general performance improvements:
For tracking performance changes use perfrunner or lighthouse-ci
Upvotes: 4