<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/firestore](./firestore.md) &gt; [/](./firestore_.md) &gt; [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
```
