ensure accessing search params mark dynamic usage (#67105)
When accessing search params, we only track dynamic access during static generation. This has implications on fetch caching, because the fetch cache relies on hints set during render that it's in a dynamic scope. In 15, this would signal that it should not attempt to cache the fetch at all. In 14, this could impact the heuristic that bails from fetch cache if dynamic access came before certain requests types, e.g. POSTs.
Showing
Please
register
or
sign in
to comment