Interactive TTL (Time To Live) cache demonstration. Items inserted with a configurable lifetime, each showing a countdown timer; items automatically expire and disappear when their timer reaches zero.
TTL on insert:
8s
Cache items (countdown shown beneath each)
Empty — insert an item below
Set a TTL, then insert items. Watch them expire.
Insert an item
A
B
C
D
E
Run demo
Reset
Waiting for first insert…