Next.js Discord

Discord Forum

Need help in understanding Next JS behaviour on first page load. GET request happens with _rsci7x7.

Unanswered
American Bobtail posted this in #help-forum
Open in Discord
American BobtailOP
Want to know how this "Waiting for server response time" can be improved on first page load. Just to add more info, the page had nothing but a simple text to display on the browser. Next JS version am using is 14.2.3.

4 Replies

@American Bobtail Want to know how this "Waiting for server response time" can be improved on first page load. Just to add more info, the page had nothing but a simple text to display on the browser. Next JS version am using is 14.2.3.
you can reduce it by caching and pre generating pages. I guess that screenshot was created using dev mode. In dev mode there is also the compile time, that can be quite long. This will be completely gone when you are in production.

So don't worry about that. Test yourself when you go in production with next build && next start. It should load instantly when it's static
American BobtailOP
@B33fb0n3 thanks for pointing this out...I tried it but its around the same even in production.
@American Bobtail?