initial commit. phase 1 complete

This commit is contained in:
2026-05-05 20:45:19 +02:00
parent d9c68313a0
commit 89e058ffac
20631 changed files with 3224610 additions and 43 deletions
@@ -0,0 +1,14 @@
import type { CacheHandler, CacheHandlerContext, CacheHandlerValue } from './';
export default class FetchCache implements CacheHandler {
private headers;
private cacheEndpoint?;
private hasMatchingTags;
static isAvailable(ctx: {
_requestHeaders: CacheHandlerContext['_requestHeaders'];
}): boolean;
constructor(ctx: CacheHandlerContext);
resetRequestCache(): void;
revalidateTag(...args: Parameters<CacheHandler['revalidateTag']>): Promise<void>;
get(...args: Parameters<CacheHandler['get']>): Promise<CacheHandlerValue | null>;
set(...args: Parameters<CacheHandler['set']>): Promise<void>;
}