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

    Subset of LoaderConfig the cache setup needs. Mirrors the fields the original inline code consulted.

    interface CacheSetupFlags {
        noCache?: boolean;
        noSliceCache?: boolean;
        noOpfs?: boolean;
        cacheDebug?: boolean;
        clearCache?: boolean;
        noPrefetch?: boolean;
        prefetchDebug?: boolean;
        cacheBudgetMB?: number | null;
    }
    Index
    noCache?: boolean
    noSliceCache?: boolean

    Disable ONLY the SliceCache (?noSliceCache); L0/L1/L2 stay on.

    noOpfs?: boolean

    Disable ONLY the L2 OPFS tier (?noOpfs); L0/L1/S-cache stay on.

    cacheDebug?: boolean
    clearCache?: boolean
    noPrefetch?: boolean
    prefetchDebug?: boolean
    cacheBudgetMB?: number | null

    Explicit total cache pool (L0+L1+S-cache) in MB (?cacheBudgetMB= / native launcher). Overrides heap detection — the path that gives the WKWebView app / Safari (no performance.memory) a real budget.