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
The Vary header must contain the header name that determines the use of cache.
The function of intercepting-routes changes the contents of the flight to be returned based on the Next-Url, but is not described in the http-vary.
This may cause unexpected caching behavior by the CDN.
Expected Behavior
Vary header Next-Url must be listed.
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
The text was updated successfully, but these errors were encountered:
#52746)
### Why
We calculate the “next url” depending on the router state and the previous router state so that when you navigate to a route, the proxy matches with that header and returns you the intercepted route if matching
### What
- Fixes#52745
Co-authored-by: Jiachi Liu <[email protected]>
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
App Router
Link to the code that reproduces this issue or a replay of the bug
https://github.com/AkifumiSato/http-vary-has-not-next-url
To Reproduce
See response header in flight.
Describe the Bug
The Vary header must contain the header name that determines the use of cache.
The function of intercepting-routes changes the contents of the flight to be returned based on the
Next-Url
, but is not described in the http-vary.This may cause unexpected caching behavior by the CDN.
Expected Behavior
Vary header
Next-Url
must be listed.Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
The text was updated successfully, but these errors were encountered: