Next.js Discord

Discord Forum

PageSpeed insights very low performance (ISR)

Unanswered
Alligator mississippiensis posted this in #help-forum
Open in Discord
Alligator mississippiensisOP
Hello guys! I have a very big problem with very low performance on my NextJS application, which is almost fully written on ISR. For now i have problem with main page, my page score is around 30 (from 100). I have 3000 ms Script evaluation and 2000 ms image rendering (static image via Image component).
Also i have pretty big Javscript Load Time (chunks). 900 ms , 800 ms, 700ms and etc.
I am testing my website on dev.
Gmetrix and Lighthouse gives pretty good results. (in comparison with PageSpeed Insights).
I have nextjs bundle analyzer, and even when i make MUI size smaller (from 1.4mb to 300kb), TBT (total blocking time) Didnt change, and points didnt get bigger.

I also tried to change imports to Dynamic imports (with ssr false and ssr true). In that case the score was even lower :d.
Is there something i can do about this ? I will provide more info if you will need to. Really stuck with it..

1 Reply

Mugger Crocodile
Hey @Alligator mississippiensis I am currently investigating a similar (albeit, much much worse) issue than yours: https://nextjs-forum.com/post/1250297913716903986

And I had some questions for you regarding your setup:
Do you use Superjson? https://www.npmjs.com/package/next-superjson-plugin
Do you use swcMinify? https://nextjs.org/docs/upgrading#swc-replacing-terser-for-minification
Do you use transpilePackages? https://nextjs.org/docs/app/api-reference/next-config-js/transpilePackages

Thanks!