cache: explore better ways to detect cache changes made by other processes

kresd 5.2.0 does periodic check which might take too long on very busy systems. Maybe we could use some event-based mechanism?

See discussion.

The following discussion from !1042 (merged) should be addressed:

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information