GitRoot

Craft your forge, Build your project, Grow your community freely
 1---
 2id: "94af"
 3priority: 83
 4assignee: null
 5status: triage
 6---
 7
 8# Executor need cache
 9
10Today pipeline is slow because there is no cache, I have added a way to `bind` directory from external to internal in the `bwrap` executor, and so with a good configuration `mise` binaries can be cached.
11
12But this solution not work with `container` or `ssh` and it is dependant on administraot of instance.
13
14Add a cache concept to keep files from job to job. Maybe add a `key` cache to know what user want to cache based on `branch` or not.
15
16Add a concept to delete the cache, when, how...
17
18---
19
20Cache works with:
21
22```yml
23configuration:
24  exec:
25    cache:
26      - key: homeCache
27        path: /home/.cache
28        readOnly: false
29```
30
31But we need to add variables for key like `$branch` and a way to delete it.
32And ssh have no cache.