Expand description
In-memory caching decorator for SashikoApi.
Wraps any Arc<dyn SashikoApi> with TTL-based caching per endpoint.
Each cached response is stored with an insertion timestamp and served
from memory if the TTL has not expired. clear_cache() invalidates
all entries (used by Refresh/Ctrl-r).
Structsยง
- Cache
Entry ๐ - A cached value with insertion timestamp.
- Caching
Client - In-memory caching decorator for
SashikoApi.