Triangle.js Docs
    Preparing search index...

    Interface Cache

    Cache is not shared between workers. Load balancing may therefore give you unexpected responses. To use the same worker, pass the same X-Session-ID header for all requests that should use the same cache.

    interface Cache {
        cached_at: number;
        cached_until: number;
        status: "hit" | "miss" | "awaited";
    }
    Index

    Properties

    cached_at: number

    When this resource was cached.

    cached_until: number

    When this resource's cache expires.

    status: "hit" | "miss" | "awaited"

    Whether the cache was hit. Either "hit", "miss", or "awaited" (resource was already being requested by another client)