Przejdź do głównej zawartości

Interface: CacheOptions

Properties

maxAge

maxAge: number

Max age in seconds


mode

mode: "public" | "private" | "no-store"

Cache mode


staleWhileRevalidate?

optional staleWhileRevalidate?: number

Stale-while-revalidate in seconds


tags?

optional tags?: string[]

Cache tags (for Next.js revalidateTag)