HF RL Explorer

Renewing reads for a Go LRU cache

Renewing reads for a Go LRU cache: a task in UXInteract 0.1 (Harbor dataset). Extend the supplied Go cache without changing ordinary Get expiration behavior. Add a separate read method that renews a live entry's original time to live. Keep existing cache APIs and capacity-based LRU eviction.

The task

Extend the supplied Go cache without changing ordinary `Get` expiration behavior. Add a separate read method that renews a live entry's original time to live. Keep existing cache APIs and capacity-based LRU eviction.

Part of Lego-X/UXInteract.