Advanced offline caching techniques in Cloud Firestore

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 23

  • @Firebase
    @Firebase  2 года назад +1

    Watch all the Firebase Summit sessions → goo.gle/firebasesummit2022-all

  • @clementjoymasinamela4244
    @clementjoymasinamela4244 2 года назад +10

    9:14 was a "clap your hands moment" the audience missed. Awesome updates, thanks.

  • @gdgKivu
    @gdgKivu 2 года назад +17

    Can we get the source code of FireSales (this app) ?

  • @ArvindSwill
    @ArvindSwill 2 месяца назад +1

    Useful real world linked explanation 👍

  • @ianhayes9926
    @ianhayes9926 2 года назад +12

    Offline caching is one thing, but the killer problem for me with FireStore is the lack of text searching on text properties.

    • @joshblf
      @joshblf 2 года назад

      Try the Algolia extension

    • @DuffHuge
      @DuffHuge Год назад

      Yeah that seriously crushes firestore. It's a massive problem for me too.

    • @ianhayes9926
      @ianhayes9926 Год назад

      @@DuffHuge If Firestore could add a Postgres style database into the service mix then they would be back on the table

    • @aminelahlou1272
      @aminelahlou1272 5 месяцев назад

      @@ianhayes9926they did with data-connect

  • @saqibshafin
    @saqibshafin 2 года назад +2

    Looking forward to using bundles to minimize read costs!

  • @aminelahlou1272
    @aminelahlou1272 5 месяцев назад

    That is exactly what I was looking for!

  • @michael-strain
    @michael-strain 11 месяцев назад

    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.

    • @michael-strain
      @michael-strain 11 месяцев назад

      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!

  • @pianoman16
    @pianoman16 2 года назад

    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.

  • @rimfilm
    @rimfilm 2 года назад +3

    Is bundling available for flutter mobile apps?

    • @Frank_van_Puffelen
      @Frank_van_Puffelen 2 года назад +2

      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

  • @rishabhgupta2085
    @rishabhgupta2085 2 года назад

    Firebase rocks 🤘🚀

  • @RodyDavis
    @RodyDavis 2 года назад

    Wow just found out about bundles. so awesome

  • @yourasa1213
    @yourasa1213 2 года назад +1

    7:28 is the solution.
    Using bundle.
    Is there a video tutorial about it?

    • @Frank_van_Puffelen
      @Frank_van_Puffelen 2 года назад +4

      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

    • @seccat
      @seccat 2 года назад

      Thanks @puf 🙇

  • @tesfafikre9322
    @tesfafikre9322 Год назад +1

    no thank you.