PersistentLocalCache interface
Stay organized with collections
Save and categorize content based on your preferences.
Provides a persistent cache backed by IndexedDb to the SDK.
To use, create an instance using the factory function , then set the instance to FirestoreSettings.cache
and call initializeFirestore
using the settings object.
Signature:
export declare interface PersistentLocalCache
Properties
Property |
Type |
Description |
kind |
'persistent' |
|
PersistentLocalCache.kind
Signature:
kind: 'persistent';
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-03-30 UTC.
[null,null,["Last updated 2023-03-30 UTC."],[],[],null,["# PersistentLocalCache interface\n\nProvides a persistent cache backed by IndexedDb to the SDK.\n\nTo use, create an instance using the factory function , then set the instance to `FirestoreSettings.cache` and call `initializeFirestore` using the settings object.\n\n**Signature:** \n\n export declare interface PersistentLocalCache \n\nProperties\n----------\n\n| Property | Type | Description |\n|-----------------------------------------------------------------------|--------------|-------------|\n| [kind](./firestore_.persistentlocalcache.md#persistentlocalcachekind) | 'persistent' | |\n\nPersistentLocalCache.kind\n-------------------------\n\n**Signature:** \n\n kind: 'persistent';"]]