Skip to content

Commit 98b0744

Browse files
authored
Merge pull request #243 from stefanprodan/local-cache-docs
Add local cache to install docs
2 parents 806d103 + 055c6cf commit 98b0744

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/install.md

+11
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,17 @@ Configure your shell to load timoni completions:
155155
mv _timoni ~/.zprezto/modules/completion/external/src/ # zprezto
156156
```
157157

158+
## Local cache
159+
160+
Timoni maintains a local cache of modules pulled from remote container registries.
161+
Cashing is meant to reduce network traffic for sequential pull operations and speeds up
162+
applying bundles which refer to modules with identical layers.
163+
164+
The default cache location is `$HOME/.timoni/cache` and be changed with the `--cache-dir` global flag.
165+
166+
If the home directory is not writable, caching can be disabled by
167+
setting the `TIMONI_CACHING=false` environment variable.
168+
158169
## SLSA Provenance & SBOMs
159170

160171
The build, release and provenance portions of Timoni's supply chain meet the

0 commit comments

Comments
 (0)