Cache consistency

I make Backups from Snapshots of zfs Datasets. Due to the nature of zfs i expect the Data of the Snapshot is correct even in case of a disk failure.
The storage location of the restic repository is unconfident. But if there would be an error i expect restic to make a report.

So i assume a restored backup is either guaranteed to be correct or fails or at least restic will show an error message in the restore process.

How is this guarantee influenced by the cache? What happens if it is stored on unreliable media outside the zfs pool and there occur an unreported failure on the device?
Are there still checksums involved so restic will report this failure?

Simply said:

Is it safe to have the restic cache on unreliable media?

Ok, i have done a bit investigation myself in the meantime.

i flipped some bits in a cachefile to simulate an error. Surprisingly nothings happens. Than i noticed that restic silently overwrites the damaged cachefile with correct data from repository. At second thought this behaviour looks acceptable but some warning might be suitable. At least it could be a hint for hardware malfuction.