Revalidate ignored for index route of a catch all route
nsams opened this issue · 0 comments
nsams commented
Link to the code that reproduces this issue
To Reproduce
- start the application using next build && next start (done by codesandbox task)
- open / and refresh a few times
- notice the page re-renders every second
- open /foo and refresh a few times
- notice the page re-renders every 10 seconds (as specified by revalidate)
Current vs. Expected behavior
Full Route Cache should also respect revalidate for /
route
Provide environment information
Operating System:
Platform: linux
Arch: x64
Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 6 20:05:33 UTC 2023
Available memory (MB): 4102
Available CPU cores: 2
Binaries:
Node: 20.9.0
npm: 9.8.1
Yarn: 1.22.19
pnpm: 8.10.2
Relevant Packages:
next: 14.3.0-canary.63 // Latest available version is detected (14.3.0-canary.63).
eslint-config-next: N/A
react: 19.0.0-beta-4508873393-20240430
react-dom: 19.0.0-beta-4508873393-20240430
typescript: 5.1.3
Next.js Config:
output: N/A
Which area(s) are affected? (Select all that apply)
Runtime
Which stage(s) are affected? (Select all that apply)
next start (local)
Additional context
No response