No description
Find a file
Justin Ridgewell 87e4a467f9 Allow CombinedContentSource to need data without locking up (vercel/turbo#3124)
Currently when an individual `ContentSource` inside a `CombinedContentSource` requests additional vary data, the combined source will treat that source as the winner of the query. But, sometimes the vary data is necessary to determine that the content is not found by this source. And if that's the case, we'll hit a 404 when we should actually keep iterating.

This is exactly the case we're going to hit with redirect/rewrites. Redirects need to be the very first content source, and I also need query/header/cookie/hostname data in order to determine if a redirect applies. Without this, **every** request becomes a 404.
2022-12-23 04:08:56 +00:00
packages/next-swc/crates Allow CombinedContentSource to need data without locking up (vercel/turbo#3124) 2022-12-23 04:08:56 +00:00