API reference

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

C

classNetworkOnlyPolicy

@codexo/exojs / assets / stable

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.

0
props
1
methods
0
events
Import
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.

Constructors1
new(): NetworkOnlyPolicy
Methods1
Source