interface IncrementalCache {
    get(cacheKey, ctx): Promise<null | IncrementalFetchCacheEntry>;
    get(cacheKey, ctx): Promise<null | IncrementalResponseCacheEntry>;
    revalidateTag(tags, durations?): Promise<void>;
    set(key, data, ctx): Promise<void>;
    set(key, data, ctx): Promise<void>;
}

Hierarchy (view full)

Implemented by

Methods

  • Parameters

    • tags: string | string[]
    • Optional durations: {
          expire?: number;
      }
      • Optional expire?: number

    Returns Promise<void>