Cache library with configurable eviction policy, supported LFU and LRU.
$ go get github.com/moeryomenko/ttlcache
ttlcache is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and/or LICENSE-MIT for details.