voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
14 lines (8 loc) • 516 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/firestore](./firestore.md) > [/](./firestore_.md) > [CACHE\_SIZE\_UNLIMITED](./firestore_.cache_size_unlimited.md)
## CACHE\_SIZE\_UNLIMITED variable
Constant used to indicate the LRU garbage collection should be disabled. Set this value as the `cacheSizeBytes` on the settings passed to the `Firestore` instance.
<b>Signature:</b>
```typescript
CACHE_SIZE_UNLIMITED = -1
```