-
Notifications
You must be signed in to change notification settings - Fork 415
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
[Pkg] Enable cache by default #10729
Comments
@rgrinberg I opened this PR on @emillon suggestion so we can discuss a possible solution for this.
IIUC the problem, for many users, their rules depend on the fact that they are not caching anything? As the goal of the PRs it to avoid the package to be download multiple times, could a specific variable for this cache be a solution? |
The end goal is correct, but we need to adjust the plan on how to get there. So what we'd like is the ability to cache only package rules. To get there, we can:
|
Ok, IIUC, the idea is to split the shared cache toggle, in multiple toggles, so we can have specific caches per rule? |
We'd like the following behavior:
A per rule toggle would be a reasonable way to implement this |
I see. If I understand correctly how it would work, it would mean rewrite the shared cache from one unique cache to a split version of it? |
I don't think so. You keep a single shared cache, but you change the logic to determine if a rule can use it. |
For the Dune Developer Preview program, we would like to have the cache enabled by default to save bandwidth when you are trying to install packages. This modification would respect the following:
A solution to this would be to parametrize the default solution using some flags and enabled them (it?) at configure time.
The first proposition can be found on #10710
The text was updated successfully, but these errors were encountered: