API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classNetworkOnlyStrategy
CacheStrategy that always fetches from the network and never reads from or writes to any CacheStore. Useful for assets that must always be fresh (e.g. live configuration files) or for environments where persistent storage is unavailable. The `stores` argument is accepted but intentionally ignored. Returns the fully constructed resource — callers do not need to call AssetFactory.create again.
import { NetworkOnlyStrategy } from '@codexo/exojs' CacheStrategy that always fetches from the network and never reads from or writes to any CacheStore.
Useful for assets that must always be fresh (e.g. live configuration files) or for environments where persistent storage is unavailable. The `stores` argument is accepted but intentionally ignored.
Returns the fully constructed resource — callers do not need to call AssetFactory.create again.
new(): NetworkOnlyStrategy resolve(request: CacheRequest, _stores: readonly CacheStore[]): Promise<unknown>