Skip to content

Cloud Firestore - Cache Size

Did you know that Cloud Firestore caches every document received from the backend?

This is great for offline mode! 🔥

For more fine-grained control, you can:

  • set the max cache size (default is 40MB)
  • disable garbage collection entirely

Here’s how. 👇

Previous Next
StreamProvider with Riverpod Generator Riverpod Notifier with build arguments

Last update: 18 septembre 2023
Created: 18 septembre 2023