Caching in restic - large retrieve times on some cloud storages

If I understood it right, restic does cache alle data files (=packs) that contains a tree object. Or did I get something wrong? :flushed:

Therefore I guess your list can be changed if you assume that you have a complete cache where all packs containing tree objects are included.

Under that assumption only packs with data blobs are inaccessible and I would change the table as follows:

CommandAffect of inaccessible data-only packs
backupshould fully work
checkshould work when using --with-cache
findshould fully work
lsshould fully work
statsshould fully work

Moreover I’m not sure if the prune problem is mainly based on the fact, that prune always does include something like rebuild-index…

Here I also disagree :wink: . I think it would be possible the produce that list. However, I agree that the current implementation does assume that everything can be accessed immediately and would probable fail like you describe it.

Again, I disagree :wink: :wink:
The other objects must be either immediately accessible or in the cache. For snapshots and indices caching is already implemented. For config, keys and locks I’m trying to change the implementation, see my comment above (#9).