GitRoot

craft your forge, build your project, grow your community freely
 1---
 2id: "94af"
 3priority: 83
 4sprint: ""
 5assignee: null
 6status: v0.4
 7kind: issue
 8---
 9
10# Executor need cache
11
12Today 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.
13
14But this solution not work with `container` or `ssh` and it is dependant on administraot of instance.
15
16Add 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.
17
18Add a concept to delete the cache, when, how...
19
20---
21
22Cache works with:
23
24```yml
25configuration:
26  exec:
27    cache:
28      - key: homeCache
29        path: /home/.cache
30        readOnly: false
31```
32
33But we need to add variables for key like `$branch` and a way to delete it.
34And ssh have no cache.