Replies: 2 comments 2 replies
-
|
This should already be the case: When a disk cache is used, CAS entries fetched from the remote cache are added to the disk cache at and AC entries at .Could you test whether this works in your setup? |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
I could test it and can confirm that the cached results are transferred from the remote cache to the disk cache in case of hits in the remote cache. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In our dev infrastructure we will have a remote cache located on some cloud infrastructure.
The developer A will have a local computer and additionally an enabled disk cache.
In case a CI/CD pipeline was triggered due to some changes of a different developer B the remote cache will be updated to the most current state.
If now developer fetches/pulls the changes into the Git repository and triggers a build it would be really cool if the updated action cache entries that are not available in the disk cache are fetched from the remote cache and then stored in the disk cache so that the remote cache is no more queried for the subsequent builds.
In the end I would like to have following behaviour of the cache:
For a given action:
This would also mean that the access to the remote cache is minimized as much as possible and favour the disk cache if possible.
Can this somehow be achieved by configuration?
I checked the documentation but could not make up my mind wrt to this question and because of that I started this discussion.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions