Frodo Library - v5.0.0-47
    Preparing search index...

    Type Alias ApplicationTemplateCacheOutcome

    ApplicationTemplateCacheOutcome:
        | "disabled"
        | "miss"
        | "fresh"
        | "revalidated"
        | "refreshed"
        | "stale-after-error"
        | "offline"

    What the cache of the catalog (see State.setUseTemplateCatalogCache) did for a read:

    • disabled: not used, because it is off or the catalog was not read from the public source;
    • miss: there was no usable copy; the catalog was downloaded and kept;
    • fresh: the kept copy is younger than maxAgeMs; the source was not asked;
    • revalidated: the source confirmed (304) that the kept copy is current;
    • refreshed: the source sent a newer catalog (200) and the copy was replaced;
    • stale-after-error: the source could not be reached or answered with a server error, so the kept copy was used (cacheError says why);
    • offline: air-gapped mode is on, so the kept copy was used without a request, whatever its age.