Saving large amount of data from Firebase <p>I actually sizeable amount of data that I retrieve the entire data from <code>Firebase</code> when the user log into the app, or to the different view controllers which require the data from Firebase. </p> <p><a href="https://i.stack.imgur.com/no0SO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/no0SO.png" alt="JSON Data"></a></p> <p>However, I find it meaningless to continuously retrieving the same data as the user navigates through the app. Is there a way for me to save all the data to the phone upon first retrieval after log in and just refer to the local data whenever I need it?</p> <p>I have used <code>NSUserDefaults</code> for small amount of data but I don't think that it is the right option for my situation. </p> <p>For these data, I would also require to search them by key when necessary. </p>