Looks like client-side indexing is still not publicly available for the web-sdk unless I'm mistaken. This sounds like a very cool feature though! Can't wait to implement if possible.
Additionally there are the issues of security with caching RBAC-protected reads, and from what I understand, it seems like there is not a good way to "clear" the cached data effectively (for example, when a user logs out). Maybe giving developers the ability to specify which queries/collections are persistent (enableHybridPersistence?), and which are security-sensitive would be a good workaround? Very interested in improving my app's performance with firebase caching/bundling/client-side indexing, I hope the combo becomes viable soon!
To use a firestore bundle, does the client need to have persistence enabled for the offline cache. If persistence is enabled, does it mean that the offline cache and the bundle are retained when the app or browser is closed and don't have to be re-downloaded when the app or browser window starts up again.
It is! The documentation guide doesn't show a Flutter code sample, but the API is here: pub.dev/documentation/cloud_firestore/latest/cloud_firestore/FirebaseFirestore/loadBundle.html
There's no dedicated video (yet), but the [documentation][1] and [solutions guide][] for bundles are quite extensive. [1]: firebase.google.com/docs/firestore/bundles [2]: firebase.google.com/docs/firestore/solutions/serve-bundles
Watch all the Firebase Summit sessions → goo.gle/firebasesummit2022-all
9:14 was a "clap your hands moment" the audience missed. Awesome updates, thanks.
Can we get the source code of FireSales (this app) ?
Useful real world linked explanation 👍
Offline caching is one thing, but the killer problem for me with FireStore is the lack of text searching on text properties.
Try the Algolia extension
Yeah that seriously crushes firestore. It's a massive problem for me too.
@@DuffHuge If Firestore could add a Postgres style database into the service mix then they would be back on the table
@@ianhayes9926they did with data-connect
Looking forward to using bundles to minimize read costs!
That is exactly what I was looking for!
Looks like client-side indexing is still not publicly available for the web-sdk unless I'm mistaken. This sounds like a very cool feature though! Can't wait to implement if possible.
Additionally there are the issues of security with caching RBAC-protected reads, and from what I understand, it seems like there is not a good way to "clear" the cached data effectively (for example, when a user logs out). Maybe giving developers the ability to specify which queries/collections are persistent (enableHybridPersistence?), and which are security-sensitive would be a good workaround? Very interested in improving my app's performance with firebase caching/bundling/client-side indexing, I hope the combo becomes viable soon!
To use a firestore bundle, does the client need to have persistence enabled for the offline cache. If persistence is enabled, does it mean that the offline cache and the bundle are retained when the app or browser is closed and don't have to be re-downloaded when the app or browser window starts up again.
Is bundling available for flutter mobile apps?
It is! The documentation guide doesn't show a Flutter code sample, but the API is here: pub.dev/documentation/cloud_firestore/latest/cloud_firestore/FirebaseFirestore/loadBundle.html
Firebase rocks 🤘🚀
Wow just found out about bundles. so awesome
7:28 is the solution.
Using bundle.
Is there a video tutorial about it?
There's no dedicated video (yet), but the [documentation][1] and [solutions guide][] for bundles are quite extensive.
[1]: firebase.google.com/docs/firestore/bundles
[2]: firebase.google.com/docs/firestore/solutions/serve-bundles
Thanks @puf 🙇
no thank you.
😂