CacheLifeProfile
The three lifetimes of a profile, in seconds.
The three lifetimes of a profile, in seconds.
Import#
ts
import type { CacheLifeProfile } from "@shadow-js/dusk/server";
Signature#
ts
interface CacheLifeProfile {
readonly stale: number;
readonly revalidate: number;
readonly expire: number;
}
Members#
| Name | Type | Description |
|---|---|---|
stale |
readonly stale: number |
|
revalidate |
readonly revalidate: number |
|
expire |
readonly expire: number |