Package filecache provides a LRU file caching mechanism to cache resources to the local disk that take a long time to generate or download from the network.
The creation process runs only once even if multiple go-routines concurrently request for a key that does not exist in the cache.
- Read the documentation.
go-filecache is available under the MIT license. See the LICENSE file for more information.