Skip to main content

Interface: IndexedDbCachedProviderOptions

Options for IndexedDbCachedProvider.

See

IndexedDbCachedProvider

Properties

PropertyModifierTypeDescription

baseProvider

readonly

DataProvider

Base data provider to cache request results for.

cacheLinks?

readonly

boolean

Whether to cache results from DataProvider.links.

If enabled, stores and updates a partial "mirror" of a previously-requested graph links from previous requests to partially or fully return cached ones.

Default

true

cacheMissing?

readonly

boolean

Whether to cache missing results from the following DataProvider methods:

Default

true

cacheTextLookups?

readonly

boolean

Whether to cache results from DataProvider.lookup with text requests.

Default

false

closeSignal

readonly

AbortSignal

Signal to close IndexedDB database and dispose the provider.

dbName

readonly

string

IndexedDB database name to store cached data.