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

    Type Alias BasePolicy

    BasePolicy: "held" | "first-visit"

    What a candidate base is scored on. held counts what the other files cost against it, for a visitor who already holds the base. first-visit adds the base's own plain size, for a visitor who loads every file of the group and has not held it. Neither weighs how often each file is requested or how long a browser keeps the base, so neither is a proven minimum of total transfer.