[]previous and next page

CachedFetchOptions

Options of cachedFetch: the same lifetimes and tags.

Options of cachedFetch: the same lifetimes and tags.

Import#

ts
import type { CachedFetchOptions } from "@shadow-js/dusk/server";

Signature#

ts
interface CachedFetchOptions {
  readonly tags?: readonly string[];
  readonly revalidate?: number | false;
  readonly cacheLife?: string;
}

Members#

Name Type Description
tags? readonly tags?: readonly string[]
revalidate? readonly revalidate?: number | false
cacheLife? readonly cacheLife?: string