rsnext/test/integration/custom-routes
Zack Tanner 12bfa97e48
conditionally send Next-URL in Vary response (#61794)
To ensure that we properly cache data for routes that change based on `Next-URL` (which is used for route interception), this adjusts how we set the `Vary` header to conditionally include `Next-URL`. 

The `Next-URL` request header only impacts the response for routes that are intercepted. When we detect that path we're handling could be intercepted, we add `Next-URL` to the vary. This signals in #61235 to prefix these cache entries with `nextUrl` if the response might vary based on it. 

Closes NEXT-2398
2024-02-09 09:57:23 -08:00
..
pages BREAKING CHANGE: Enable newNextLinkBehavior (#41459) 2022-10-17 21:20:28 -04:00
public Add checking filesystem after each rewrite (#9568) 2019-12-23 16:20:17 -05:00
test conditionally send Next-URL in Vary response (#61794) 2024-02-09 09:57:23 -08:00
next.config.js chore(export)!: remove next export in favor of output: export in next.config.js (#57085) 2023-10-23 18:03:58 +00:00