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

    Interface LoaderConfig

    Configuration for data loader behavior

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

    Enable debug logging

    enableMonitor?: boolean

    Enable data loading monitor UI

    noCache?: boolean

    Disable ALL cache tiers: SliceCache, L0 decompressed, and L1/L2.

    noSliceCache?: boolean

    Disable only the SliceCache / S-cache (L0/L1/L2 stay on).

    noOpfs?: boolean

    Disable only the L2 OPFS persistent tier (L0/L1/S-cache stay on).

    cacheBudgetMB?: number | null

    Explicit total in-memory cache pool (L0+L1+S-cache) in MB, from ?cacheBudgetMB= / the native launcher. Used where performance.memory is absent (WKWebView/Safari) so heap-aware sizing still gets a real budget.

    cacheDebug?: boolean

    Verbose cache logging.

    clearCache?: boolean

    Clear caches on init.

    noPrefetch?: boolean

    Disable adjacent-chunk prefetching.

    prefetchDebug?: boolean

    Verbose prefetch logging.