Package ncache implements a simple LRU cache as well as a cache wrapper for populating caches that deduplicates lookups for the same cache key.