在某些节点上启用Firebase持久性 [英] Enable Firebase persistence on certain nodes
问题描述
对于一个我们要尝试使用Firebase数据库的新项目,其想法是存储SEO,产品,用户首选项等.
For a new project we want to experiment with Firebase Database, the idea is to store SEO, Product, User Preferences and so on.
我们期望SEO数据将成为更大的空间消耗者,并且客户无需将其保存在本地,因为这些信息仅用于统计目的
We are expecting that the SEO data will be the bigger space consumer and the client doesn't need to save this information locally as will be only used for statistical purposes
是否可以仅在某些节点上启用Firebase数据库持久性,而排除其他节点?
Is it possible to enable Firebase Database Persistence only on certain nodes and exclude others?
感谢您的帮助
推荐答案
持久性只能配置为全部或不配置.实时数据库和Cloud Firestore都是如此.没有细化的持久性设置.请随时提交功能请求.
Persistence can only be configured all or nothing. This is true for both Realtime Database and Cloud Firestore. There is no granular persistence setting. Please feel free to file a feature request.
这篇关于在某些节点上启用Firebase持久性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!