I m coding a portal information application.
In my application, i m getting data with a json file (backend is also codded by me)
in this json file, i have many objects, for example, groceries, places, weather etc… i guess 20 different objects.
in my app, there is a home page with buttons, i want to get all data when the app is opened and for example if user clicked “places” i want to use places data from the json. i dont want to make a new request to server.
what is the best logic of this app.