ETS-based response cache with configurable TTL and periodic sweeping.
Summary
Functions
Returns a specification to start this module under a supervisor.
Clear all cached entries.
Fetch a cached value or compute it.
Look up a cached value by key.
Store a value in the cache.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Clear all cached entries.
Fetch a cached value or compute it.
Returns the cached value if present and not expired, otherwise calls fun
and caches the result.
Look up a cached value by key.
Store a value in the cache.