Firebase storage Ask a question.
When accessing the game, the files stored in the storage are loaded.
It has a lot of capacity, so if you ask for each connection
I thought it was going to be expensive.
When I looked for a method, there was a function to check the information of the stored file called Storage Metadata provided by Firebase.
So, it is downloaded only for the first time and cached in advance in the app,
The file size stored in the app,
By comparing the size of files imported from Storage Metadata
If the two are the same, the code is written so that they do not download.
What I'm curious about
Maybe getting the file size from Storage Metadata
I was wondering if there was any difference from downloading files every single connection.
Then you suffered in vain..
Does anyone know?,
Your answer
![](https://koobas.hobune.stream/wayback/20220613021553im_/https://answers.unity.com/themes/thub/images/avi.jpg)