Next.js Discord

Discord Forum

Initial router.push or Link component very slow even in production

Unanswered
Asiatic Lion posted this in #help-forum
Open in Discord
Asiatic LionOP
On my deployed Next app’s website, when user first clicks a link that navigates to another page using router.push, no matter how long they’ve stayed on the page, it sometimes will take as long as one to two seconds before the page changes. What’s wrong with my website? What did I do wrong? This is especially bad on Mobile devices. After the initial click, later clicks works fine. I’m using Pages routing. Here’s the deployed website: https://test.uwclassmate.com

0 Replies