Support `force-static` on App Routes (#46693)
Supports `export const dynamic = 'force-static'` on App Routes. This strips pieces of information from the request object to ensure subsequent requests don't accidentally cache user specific data: - Removes `searchParams` - Removes `headers` - Removes `cookies` - Removes `host` - Removes `port` - Removes `protocol` [NEXT-682](https://linear.app/vercel/issue/NEXT-682/force-static-doesnt-work-with-app-routes)
Showing
Please
register
or
sign in
to comment