Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache unresolvable artifacts too, like "Negative Cache" #2221

Open
wglanzer opened this issue Sep 10, 2024 · 3 comments
Open

Cache unresolvable artifacts too, like "Negative Cache" #2221

wglanzer opened this issue Sep 10, 2024 · 3 comments
Labels
feature New feature request

Comments

@wglanzer
Copy link

Request details

We got the ability to define the "max age of metadata file".
This is extremely useful, if you do not want to send excessive amounts of requests to the upstream mirrors.

Will it be possible to add the ability to cache "unresolvable" artifacts too?
Nexus does give us this option, called "Negative Cache".

I understand, that this option may result in invalid responses, if something gets uploaded to a mirror - but the performance improvement otherwise should be massive.

@dzikoysk dzikoysk added feature New feature request and removed triage labels Sep 14, 2024
@okgolove
Copy link

This is a killer feature if we are talking about proxy repositories. I've compared Reposilite with Nexus (with enabled Negative Cache) - 200 sec vs 60 sec

@okgolove
Copy link

Hi @dzikoysk! Do you have any plans about this issue?

@dzikoysk
Copy link
Owner

Hey, I agree it'd be nice to have it as an opt-in feature. Unfortunately, I'm quite busy with some other important stuff thus the priority on this is quite low for me at this moment. If any of you would like to work on it, go ahead - I'll try to help here (or on our Discord server) in case of any problems 🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

3 participants