Taos API Reference
    Preparing search index...

    Interface DataSourceLogEntry

    One retained load event — a network download or a persistent-cache hit.

    interface DataSourceLogEntry {
        source: string;
        url: string;
        from: "network" | "cache";
        what: "json" | "binary";
        bytes: number;
        time: number;
    }
    Index

    Properties

    source: string

    Which data source served it (the source's GeoDataSource.label).

    url: string

    What was loaded (request URL).

    from: "network" | "cache"

    Whether it was downloaded from the source or served from the persistent cache.

    what: "json" | "binary"

    'json' (tileset.json / layer.json / subtree index) or 'binary' (tile content).

    bytes: number

    Response size in bytes.

    time: number

    ms since navigation start (Performance.now), for ordering.