@drupflare/spool - v0.1.0
    Preparing search index...

    Type Alias Opportunity

    something the worker could fetch ahead of the visit that needs it

    type Opportunity = {
        avoided: Cost;
        futureViews?: number;
        id: string;
        kind: "layout" | "template" | "asset" | "route" | "expansion";
        maintain?: Cost;
        provision: Cost;
        reuse?: number;
    }
    Index
    avoided: Cost

    what each view served from it keeps off the wire

    futureViews?: number
    id: string
    kind: "layout" | "template" | "asset" | "route" | "expansion"

    layout, template and asset are shared by many pages; route is a page the server calls hot; expansion is a page the user has not asked for yet

    maintain?: Cost

    what keeping it current costs over its life; none when omitted

    provision: Cost

    what fetching it costs, once

    reuse?: number