MarcusOtter / APOD.Net

An unofficial .NET wrapper for NASA's Astronomy Picture of the Day API.
https://marcusotter.github.io/APOD.Net/
MIT License
9 stars 2 forks source link

Caching results #4

Open MarcusOtter opened 4 years ago

MarcusOtter commented 4 years ago

Perhaps it could be a good idea to cache requests to save API calls. This could be a boolean setting in the constructor of the client. If the user wants to cache results, it would trade some memory for less API calls. If the user doesn't want to cache the results, it will take more API calls but less memory.