README

common/data/caching

This folder should be used for libraries that cache data in various ways.

Expand ▾ Collapse ▴

Directories

Path Synopsis
cache Package cache implements both in-memory and on-disk caching.
cacheContext Package cacheContext implements a context.Context wrapper which caches the results of Value calls, speeding up subsequent calls for the same key.
lazyslot Package lazyslot implements a caching scheme for globally shared objects that take significant time to refresh.
lru Package lru provides least-recently-used (LRU) cache.