Replies: 1 comment
-
I have encountered that problem too. Same situation about fetching data while using server- and clientside components.
Not a solution, but a tribue for the cookie monster! :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hi community,
On my Next.js website, I'm experiencing a strange issue where I can't figure out what it is caused by.
There are several dynamic routes in the app router which return cached content (using
fetch
) and then render a page. Some part of the page are server components and others are client components, but all pages run using the app router. After a while in production, some pages return a 404 error but still display the page content as normal. After refreshing the page for a while, the cached content expires and the page gets refreshed. But the 404 status coded stays in place. Only after a complete rebuild usingnpm run build
the error disappears. After a few hours or days, it keeps coming along again on other pages.I can't see any reason what could cause that issue. Has someone of you guys experienced a similar issue or knows how to fix or debug that?
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions