Skip to content

avc cache

AVC caches computed diffs in the database to speed up repeated queries (e.g. re-running avc diff on the same snapshot pair, or avc status polled by an agent in a loop).

Terminal window
avc cache stats # show cache size and oldest entry
avc cache clear # delete all cached diff results
Terminal window
avc cache stats
avc cache stats --json

JSON output:

{
"cached_rows": 42,
"oldest_at": 1712282400
}
Terminal window
avc cache clear
avc cache clear --json

JSON output:

{
"cleared": true,
"success": true
}

Clearing the cache never deletes snapshots or objects — it only forces the next diff to be recomputed.