As we are referencing cache keys for our dependency keys, we could provide a mechanism of garbage collection (which could run in a worker as an option), so that we can check every entry in the data cache, remove missing ones and then drop the empty dependency keys in the inverted index.
As we are referencing cache keys for our dependency keys, we could provide a mechanism of garbage collection (which could run in a worker as an option), so that we can check every entry in the data cache, remove missing ones and then drop the empty dependency keys in the inverted index.