nova icon indicating copy to clipboard operation
nova copied to clipboard

Additional Cache Enhancements

Open lucasreed opened this issue 2 years ago • 1 comments

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

lucasreed avatar Apr 05 '22 17:04 lucasreed

Now that we're downloading the entire file from artifacthub now, it should be easy to enhance how we manage and cache that file.

sudermanjr avatar May 26 '23 18:05 sudermanjr