I am working with an API but I am unsure what the best way to store the API return values. Specifically, I am working with the RIOT API just as a small hobby project. I would like to store this information somewhere so that I can not only compare users with each other but also present user statistics without having to call the API each time.It just doesn't seem right for me to store all this information when it is already there but again, I don't really see the need to constantly call the API for each game that I want to retrieve information from each time the user wants information.
When and how long should I cache data read from an external API?
api