@@ -17,10 +17,7 @@ import type {
1717 RenderOptsPartial as AppRenderOptsPartial ,
1818 ServerOnInstrumentationRequestError ,
1919} from './app-render/types'
20- import type {
21- ServerComponentsHmrCache ,
22- ResponseCacheBase ,
23- } from './response-cache'
20+ import type { ServerComponentsHmrCache } from './response-cache'
2421import type { UrlWithParsedQuery } from 'url'
2522import {
2623 NormalizeError ,
@@ -329,7 +326,6 @@ export default abstract class Server<
329326 protected interceptionRoutePatterns : RegExp [ ]
330327 protected nextFontManifest ?: DeepReadonly < NextFontManifest >
331328 protected instrumentation : InstrumentationModule | undefined
332- private readonly responseCache : ResponseCacheBase
333329
334330 protected abstract getPublicDir ( ) : string
335331 protected abstract getHasStaticDir ( ) : boolean
@@ -396,10 +392,6 @@ export default abstract class Server<
396392 requestHeaders : Record < string , undefined | string | string [ ] >
397393 } ) : Promise < import ( './lib/incremental-cache' ) . IncrementalCache >
398394
399- protected abstract getResponseCache ( options : {
400- dev : boolean
401- } ) : ResponseCacheBase
402-
403395 protected getServerComponentsHmrCache ( ) :
404396 | ServerComponentsHmrCache
405397 | undefined {
@@ -569,7 +561,6 @@ export default abstract class Server<
569561 void this . matchers . reload ( )
570562
571563 this . setAssetPrefix ( assetPrefix )
572- this . responseCache = this . getResponseCache ( { dev } )
573564 }
574565
575566 protected reloadMatchers ( ) {
0 commit comments