#App Dir is super slow
18 messages · Page 1 of 1 (latest)
is this running next dev(not turbo) and maybe on windows?
Both with turbo and not
Also, when hosted with vercel
Wsl ubuntu and windows are the same way
Do you have requests in a layout.tsx thats running?
Remember nextjs 13 uses nested layouts.
You could try to open your browsers devtools and open the Network tab or try to run a lighthouse scan it is sometimes effective at telling you about slow requests.
I mean, my page is blazing fast when run in prod mode. When run in dev mode it is necessary to restart the site a couple times as it just gets slower and slower for every reload.
@brittle leaf I have recoded the app to remove all data requests and used set up some basic dummy data that is TS exported so it is available at js build time
It just seems to hang weirdly,
I click a link, wait, browser loading, page requested
The app is pretty much bare bones
As I started again rather than recode app
Just to make sure - Have you activated network throttling in Networks tab. If not I don't know why it is slow.
@brittle leaf the network throttling is turned off
i also do incognito and proxy to test and still very slow reaction times from next js
I have the same behavior with only an auth guard.
Ok, I just updated next to [email protected] and things seems to be smoother.
First page loads are slow, but after that it's "okay".
i will try the canary branch and see if that speeds things up for me
This issue is still persistent.
Plus the insane memory leak. (https://github.com/vercel/next.js/issues/42514)
Next.js 13 is unable for me at this point.
I've been on canary for the past couple weeks with no improvements.