diff --git a/packages/next/src/shared/lib/router/router.ts b/packages/next/src/shared/lib/router/router.ts index 32aecea6655f3..6cc5ba2a9b704 100644 --- a/packages/next/src/shared/lib/router/router.ts +++ b/packages/next/src/shared/lib/router/router.ts @@ -2501,18 +2501,6 @@ export default class Router implements BaseRouter { }) } - _getFlightData(dataHref: string) { - // Do not cache RSC flight response since it's not a static resource - return fetchNextData({ - dataHref, - isServerRender: true, - parseJSON: false, - inflightCache: this.sdc, - persistCache: false, - isPrefetch: false, - }).then(({ text }) => ({ data: text })) - } - getInitialProps( Component: ComponentType, ctx: NextPageContext