#App Dir is super slow

18 messages · Page 1 of 1 (latest)

ember pulsar
#

Is anyone else finding that the app directory is now super slow?
navigating to another page is between 600ms to 3s
any sort of caching seems to be ineffective

covert gale
#

is this running next dev(not turbo) and maybe on windows?

ember pulsar
#

Both with turbo and not

Also, when hosted with vercel

#

Wsl ubuntu and windows are the same way

brittle leaf
#

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.

ember pulsar
#

@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

brittle leaf
#

Just to make sure - Have you activated network throttling in Networks tab. If not I don't know why it is slow.

ember pulsar
#

@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

polar fog
#

I have the same behavior with only an auth guard.

#

First page loads are slow, but after that it's "okay".

ember pulsar
#

i will try the canary branch and see if that speeds things up for me

subtle prism
#

This issue is still persistent.

#

Next.js 13 is unable for me at this point.

#

I've been on canary for the past couple weeks with no improvements.