Reference

AppRouterCache

Defines the storage interface used by app-router route response caching.

Signature

interface AppRouterCache

Members

function deleteByPath(path: string): void | Promise<void>
function get(key: string, now?: number): AppRouterCacheEntry | Promise<AppRouterCacheEntry | undefined> | undefined
function set(key: string, entry: AppRouterCacheEntry): void | Promise<void>