Performance : How to reduce server response time?
Unanswered
Schillerstövare posted this in #help-forum
SchillerstövareOP
I hope to increase performance by 90.
6 Replies
Rainbow trout
Write better code
Try to reduce your bundle sizes
The first thing you can try is using dynamic imports (see the nextjs docs)
In other words you only load the essential components for your site on first render, and the rest are loaded after the response is sent
Your total response time won’t decrease overall, but your performance score should since a user will see content sooner
Also you can to analyze your bundles using webpack bundle analyszer (there’s a plugin for next) to see a visual representation of what you’re bundling and try to eliminate unnecessary stuff