但是我仍然不清楚实时数据库和新引入的文件存储.@H_301_3@
有人有一些简短的解释吗?@H_301_3@
提前致谢 .@H_301_3@
(根据与Difference between Data Storage and Hosting Storage?重复的问题,问题解决和我所要求的是两个不同的东西,托管存储和文件存储在Google firebase的情况下是不同的)@H_301_3@
解决方法
> Realtime Database
> Remote Config
> Hosting
> Storage@H_301_3@
存储数据的最佳位置取决于要存储的数据类型和要使用的方式.@H_301_3@
Firebase documentation这样说:@H_301_3@
The Firebase Realtime Database stores JSON application data,like game state or chat messages,and synchronizes changes instantly across all connected devices.@H_301_3@
Firebase Remote Config stores developer-specified key-value pairs to change the behavior and appearance of your app without requiring users to download an update.@H_301_3@
Firebase Hosting hosts the HTML,CSS,and JavaScript for your website as well as other developer-provided assets like graphics,fonts,and icons.@H_301_3@
Firebase Storage stores files such as images,videos,and audio as well as other user-generated content.@H_301_3@