Lotus.Cache (Lotus v0.9.0)

View Source

Lotus cache facade. If no adapter configured, acts as a no-op pass-through.

Summary

Functions

delete(key)

enabled?()

get(key)

get_or_store(key, ttl_ms, fun, opts \\ [])

invalidate_tags(tags)

put(key, value, ttl_ms, opts \\ [])