This passes two different cache keys (memory_cache_key and file_cache_key) to the compute_memoized method. The intended use case comes from proguard processing: we want to keep proguard files on disk as a whole, but only load segments of them into memory at a time. To this end, we want several in-memory cache keys (those of the individual parts of the proguard file) to correspond to one on-disk cache key (that of the entire file).
This passes two different cache keys (
memory_cache_key
andfile_cache_key
) to thecompute_memoized
method. The intended use case comes from proguard processing: we want to keep proguard files on disk as a whole, but only load segments of them into memory at a time. To this end, we want several in-memory cache keys (those of the individual parts of the proguard file) to correspond to one on-disk cache key (that of the entire file).