Skip to content

Enumeration: StorageEngine

Enum representing the different storage engines that can be used.

Default Value

ts
Auto

Enumeration Members

Auto

ts
Auto: 0;

Automatically selects the best available storage engine based on browser support.


IndexedDB

ts
IndexedDB: 2;

Uses IndexedDB for caching, with synchronization between tabs via BroadcastChannel.


LocalStorage

ts
LocalStorage: 1;

Uses the browser's local storage for caching, with synchronization between tabs via BroadcastChannel.


Memory

ts
Memory: 4;

Uses in-memory storage for caching, synchronization only with the instance itself.


SessionStorage

ts
SessionStorage: 3;

Uses the browser's session storage for caching, isolated per tab.