inital commit

This commit is contained in:
2026-01-01 15:25:19 +05:30
commit f0ae49465a
36361 changed files with 4894111 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import type { ResponseCacheEntry, ResponseGenerator, ResponseCacheBase, IncrementalResponseCache } from './types';
import type { RouteKind } from '../route-kind';
export * from './types';
export default class ResponseCache implements ResponseCacheBase {
private readonly batcher;
private previousCacheItem?;
private minimalMode?;
constructor(minimalMode: boolean);
get(key: string | null, responseGenerator: ResponseGenerator, context: {
routeKind: RouteKind;
isOnDemandRevalidate?: boolean;
isPrefetch?: boolean;
incrementalCache: IncrementalResponseCache;
isRoutePPREnabled?: boolean;
isFallback?: boolean;
}): Promise<ResponseCacheEntry | null>;
}