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. 👇
Found this useful? Show some love and share the original tweet 🙏
Previous | Next |
---|---|
StreamProvider with Riverpod Generator | Riverpod Notifier with build arguments |