Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias Freshness

    the staleness contract of a route; maxStale is in seconds

    type Freshness = {
        maxStale: number;
        mode: FreshnessMode;
    }
    Index
    maxStale: number

    seconds a copy may age before the mode applies

    what happens past maxStale: block on a sync, or show first and sync later