Add an API endpoint to trigger cache refresh
Open
proposal
- Dominant language
- Go
- Stars
- 3.8k
- Forks
- 407
- PR merge metrics
- No merged PRs in 30d
Description
Scenario:
We host a considerably large repository and have disabled the cache for immediate response. This has introduced a noticeable lag (1-3 seconds) when retrieving charts. If there were an API to trigger a cache refresh, we could enable caching with specified intervals. Then, after pushing a new chart, we could call this API to refresh the cache. This approach would allow immediate access to the new version and reduce the lag caused by a full scan.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.