A simple cache for storing key-value pairs on disk. Distributions may wish to use this to record the
version(s) of each distribution package currently installed.
Look up an item in the cache.
The cache is being regenerated from scratch. If you want to
pre-populate the cache, do it here by calling the provided function once
for each entry. Otherwise, you can populate it lazily using get