I have a JAMstack app up and running - Angular, SSG with Scully, Netlify Functions, FaunaDB. My main.js bundle on the initial page is 138kb - I spent 16 hours straight to be sure everything is on point, including all the web.dev practices. However there is one thing I can not trick - Google lightouse performance score.
Thanks to SSG I have prerendered pages, blazing fast to my eyes, great experience, but not for Google scoring. My current performance score:
Note: I would love to but I cannot share the site yet.
User pulls a prerendered page, about 2 or 3 seconds laters JS replaces the “bait” and parses an actual app which also takes time. This results in those terrible results I have run the tests on web.dev page. Prod release, master branch, Pro Netlify plan if that matters.
Have anyone came up with some clever idea how to turn those numbers into green ones (keeping app pre-rendering feature on)?