BigCache
Store short-lived byte values in a Go memory cache.
allegro · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a new Go module, add github.com/allegro/bigcache/v3 at v3.2.0. Cache a sample label and retrieve its bytes by key.
What we tested
v3.2.0. Cache a sample label and retrieve its bytes by key. Cached the fictional stock label and recovered its exact bytes.