Cache key
Check if cached data is valid (exists and matches the current hash of the invalidation inputs).
Cache key (e.g., 'pnpm-list')
Path, or paths, whose contents determine cache validity (e.g., a lockfile)
Read cached data for a given key.
Cache key
Read permanent cache if it exists.
Cache key
Write data to cache along with the hash of the invalidation inputs.
Cache key
Data to cache
Path, or paths, whose contents determine cache validity
Write data to cache without invalidation file (cache permanently).
Cache key
Data to cache
Check if permanent cache exists.