@dxos/app-framework - v0.8.3
    Preparing search index...

    Interface Cache

    Per-platform offline cache for third-party plugin assets.

    Implementations live alongside their platform glue (composer-app's asset-cache/{tauri,service-worker}.ts); the no-op default is for tests and unsupported environments.

    interface Cache {
        cache(
            pluginId: string,
            urls: readonly string[],
        ): Effect<void, PluginAssetCacheError>;
        evict(pluginId: string): Effect<void, PluginAssetCacheError>;
        list(): Effect<readonly string[], PluginAssetCacheError>;
        resolve(
            pluginId: string,
            url: string,
        ): Effect<string, PluginAssetCacheError>;
    }
    Index

    Methods