Luxar Viewer API Documentation - v2026.10.19
    Preparing search index...

    Segmented LRU with name-based routing: Metadata files go to a dedicated segment, data chunks go to the chunks segment. No frequency tracking needed.

    Index
    MIN_METADATA_SIZE: number = ...
    MAX_METADATA_FLOOR_SHARE: 0.5

    The floor gives way on a small budget: never more than this share of the total. A heap- or ?cacheBudgetMB-scaled L1 can be far below 10 MB (40 MB total gives ~8 MB), and a fixed floor there left the chunk segment at zero — every L1 chunk rejected — with the segments together over the budget.

    METADATA_PATTERNS: string[] = ...
    metadata: LRUCache<Uint8Array<ArrayBufferLike>>
    chunks: LRUCache<Uint8Array<ArrayBufferLike>>
    totalSize: number

    Configured total byte budget (metadata + chunks segments).