API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceLoadContainerOptions

@codexo/exojs / assets / stable

How Loader.loadContainer fetches a container.

1
props
0
methods
0
events
Import
import { LoadContainerOptions } from '@codexo/exojs'

How Loader.loadContainer fetches a container.

Properties1
Where to keep the container's blocks between visits - cacheApiBlockStore() for the browser's own storage, or any ContainerBlockStore. Supplying one selects the block-wise path: the head is read first and only the blocks the store does not hold are fetched, so a revisit costs what actually changed. It replaces the whole-file cache entry rather than adding to it, since both hold the same bytes. Omit it to fetch and cache the file whole.
Source