Parallel Routes 404 When Used With CacheComponent #86558
Unanswered
phuctran1203
asked this question in
App Router
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
All my parallel routes become 404 when combined it with cacheComponent in new Next 16+.
The problem only happens when I deployed project into Vercel.
Everything works fine when it runs on local.
More detail:
@post_slot/(...)post/[postId]/page.tsxpost/[postId]/page.tsxWhen I'm at
/homeand click Next Link, Intercepting Route(...)postwill catch it instead ofpost, right? But I got 404 error.if I open the direct link first, E.g: open
post/123->post/123opened successfully. After that I try to open parrallel again(...)post/123and it openspost/123, not(...)post/123.On the other hand, if I don't open
post/123first, then(...)post/123will be 404.post/123means I opened it directly in URL browser's bar(...)post/123means I clicked to the Next LinkBeta Was this translation helpful? Give feedback.
All reactions