Cache
Introduction
Every feature version a product pins lives in .splent_cache/features/ as a read-only snapshot. The cache commands show what is there, which products use it, and delete what you no longer need. SPLENT Cache explains how products link to it.
splent cache:status
| Command | What it does |
|---|---|
cache:status |
Every entry, pinned in the cache or editable at the workspace root |
cache:orphans |
Entries no product references |
cache:versions |
Every cached version of one feature |
cache:usage |
Which products declare each feature |
cache:size |
Disk usage per namespace and entry |
cache:outdated |
Products on an older version than one in the cache |
cache:prune |
Deletes the orphans and the broken links |
cache:clear |
Deletes the whole cache, one namespace or one feature |
Pruning or clearing
cache:prune deletes only what no product pins. cache:clear deletes whatever you name, in use or not.
Both work on features/ only. They never touch .splent_cache/spls/ or .splent_cache/marketplace/.