IFClite TypeScript API
    Preparing search index...

    Interface ResponseCache

    Cache hook. The key is the URL plus the Range header, if any. A Map-backed object, IndexedDB or a file cache all fit.

    interface ResponseCache {
        get(
            key: string,
        ): CachedResponse | Promise<CachedResponse | undefined> | undefined;
        set(key: string, value: CachedResponse): void | Promise<void>;
    }
    Index