You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should result in the response being revalidated every 10 seconds. This works fine for normal content, but not for a redirect response. Redirect responses never seem to get revalidated.
This also seems to be the case for notFound() responses.
Provide environment information
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.2.0: Fri Dec 6 19:01:59 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6000
Available memory (MB): 65536
Available CPU cores: 10
Binaries:
Node: 20.13.0
npm: 8.19.4
Yarn: 1.22.19
pnpm: 9.15.4
Relevant Packages:
next: 15.2.0-canary.13 // Latest available version is detected (15.2.0-canary.13).
eslint-config-next: N/A
react: 19.0.0
react-dom: 19.0.0
typescript: 5.7.3
Next.js Config:
output: N/A
Which area(s) are affected? (Select all that apply)
Not sure
Which stage(s) are affected? (Select all that apply)
Vercel (Deployed)
Additional context
We are deploying our website on Vercel, we have not tested on other platforms. We have started noticing this issue when we updated from the last Next.js 14 release to the latest 15 release.
The text was updated successfully, but these errors were encountered:
sroebert
changed the title
Redirect response never gets revalidated
Redirect and not found responses never gets revalidated
Jan 17, 2025
Link to the code that reproduces this issue
https://github.com/sroebert/nextjs-redirect-revalidate-issue
To Reproduce
/redirect
Current vs. Expected behavior
The layout of the home page contains the following configuration:
This should result in the response being revalidated every 10 seconds. This works fine for normal content, but not for a
redirect
response. Redirect responses never seem to get revalidated.This also seems to be the case for
notFound()
responses.Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.2.0: Fri Dec 6 19:01:59 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6000 Available memory (MB): 65536 Available CPU cores: 10 Binaries: Node: 20.13.0 npm: 8.19.4 Yarn: 1.22.19 pnpm: 9.15.4 Relevant Packages: next: 15.2.0-canary.13 // Latest available version is detected (15.2.0-canary.13). eslint-config-next: N/A react: 19.0.0 react-dom: 19.0.0 typescript: 5.7.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Not sure
Which stage(s) are affected? (Select all that apply)
Vercel (Deployed)
Additional context
We are deploying our website on Vercel, we have not tested on other platforms. We have started noticing this issue when we updated from the last Next.js 14 release to the latest 15 release.
The text was updated successfully, but these errors were encountered: