Slow page compiling
Unanswered
Bedlington Terrier posted this in #help-forum
Bedlington TerrierOP
Why my Next pages compiles for +30 seconds?
- App router
- Next 14 + 15 (tested with fresh app)
- No Turbo repo
Nothing fancy - just cloned one of my projects I left for a couple months, installed dependencies and super slow on each route when compiling in dev. Waiting 30-60 seconds t load
Never came across this. Any thoughts?
- App router
- Next 14 + 15 (tested with fresh app)
- No Turbo repo
Nothing fancy - just cloned one of my projects I left for a couple months, installed dependencies and super slow on each route when compiling in dev. Waiting 30-60 seconds t load
Never came across this. Any thoughts?
13 Replies
Next JS dev servers are normally pretty slow unless you use turbopack now which you shouldn't have any problems with in dev mode.
@Jesse Next JS dev servers are normally pretty slow unless you use turbopack now which you shouldn't have any problems with in dev mode.
Bedlington TerrierOP
Thank you for the reply. But what has changed recently do you know? I understand 'slow', but this is unusable.
@Bedlington Terrier Thank you for the reply. But what has changed recently do you know? I understand 'slow', but this is unusable.
I'm not sure what's specifically causing dev servers not using turbopack to be so slow, but I assume it's something that probably happened around the stability of turbopack in dev. As I said before using turbopack in dev shouldn't cause you any problems now that it's stable so I'd just use that for now.
@Bedlington Terrier Why my Next pages compiles for +30 seconds?
- App router
- Next 14 + 15 (tested with fresh app)
- No Turbo repo
Nothing fancy - just cloned one of my projects I left for a couple months, installed dependencies and super slow on each route when compiling in dev. Waiting 30-60 seconds t load
Never came across this. Any thoughts?
Dutch
give me your pc specs like cpu and ram, i had same issues before and one refresh was taking around 30 sec with my 1.6ghz intel cpu
@Dutch give me your pc specs like cpu and ram, i had same issues before and one refresh was taking around 30 sec with my 1.6ghz intel cpu
Bedlington TerrierOP
Funny you mention - it's on my new laptop that I noticed.
- Intel Core i7-14650 2.20 GHz
- 32GB ram
- SSD
What did you do to resolve this?
- Intel Core i7-14650 2.20 GHz
- 32GB ram
- SSD
What did you do to resolve this?
Bedlington TerrierOP
yes
@Bedlington Terrier Funny you mention - it's on my new laptop that I noticed.
- Intel Core i7-14650 2.20 GHz
- 32GB ram
- SSD
What did you do to resolve this?
Dutch
Hard to believe but got a new pc, and stopped building that project then 🙂
Now it takes around 1 sec to reflect
I even opened some issues on vercel, TS repos but problem was my repo's scale
Bedlington TerrierOP
that's so strange because even a new blank proiject takes very long
Bedlington TerrierOP
brand new empty project, top with turbopack, bottom without. So this is not a project problem. Im running Win11