Initial commit

This commit is contained in:
makearmy 2025-09-22 10:37:53 -04:00
commit 78f8d225ee
21173 changed files with 2907774 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>;
}