nova
nova copied to clipboard
Additional Cache Enhancements
Is your feature request related to a problem? Please describe. When running locally in quick succession it is likely you will hit rate limits on the artifacthub API, especially if you have a lot of helm releases.
Describe the solution you'd like A local cache file that is on by default. We'll want the file to include the datetime of when it was last pulled. There can be a configurable expiry duration that will bypass the cache. It should hold all the search data that was gathered from artifacthub. If nova is run in quick succession after a helm chart is added to the cluster, there needs to be a fallback to call artifacthub only for new things that are not in the cache.
Describe alternatives you've considered Nothing right now.
Additional context N/A
Now that we're downloading the entire file from artifacthub now, it should be easy to enhance how we manage and cache that file.