API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classNetworkOnlyPolicy
Always fetches, and neither reads nor writes any cache. For sources that must always be fresh - a live configuration file, a server-authoritative manifest - and for environments where persistence is unwanted. It writes nothing: a policy named network-only that still filled a cache would leave records no policy on the same route ever reads.
import { NetworkOnlyPolicy } from '@codexo/exojs'Always fetches, and neither reads nor writes any cache.
For sources that must always be fresh - a live configuration file, a server-authoritative manifest - and for environments where persistence is unwanted. It writes nothing: a policy named network-only that still filled a cache would leave records no policy on the same route ever reads.
new(): NetworkOnlyPolicy