Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why opening new route take time? #31

Closed
nityam01 opened this issue Nov 24, 2022 · 1 comment
Closed

Why opening new route take time? #31

nityam01 opened this issue Nov 24, 2022 · 1 comment

Comments

@nityam01
Copy link

When clicking on Get Started or any link for the first time, it takes a couple of ms to open. Wasn't that a bad experience? Was it happening because of SSR?
Video link:-
Video 1
Video 2

@shadcn
Copy link
Collaborator

shadcn commented Nov 27, 2022

Oh yeah there's an issue when using dynamic headers in the layout. It seems like we're seeing a cache miss for all route navigation. A bit hard to debug since I can't reproduce this on local.

I pushed a temp fix for it. Should be faster now. Let me know.

@shadcn shadcn closed this as completed Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants