Sub-millisecond reads, keys that expire on schedule, and nothing to configure.
A real cache running in your browser. Type a command or tap one.
Eight commands cover most of what a cache is for. All of them work in the playground above.
SET key value [EX seconds]Store a string, optionally with a time to live.
GET keyRead a value. A miss returns (nil).
DEL key [key ...]Remove keys. Returns how many existed.
TTL keySeconds left. -1 means no expiry, -2 means the key is gone.
EXPIRE key secondsPut a time to live on a key that already exists.
INCR keyIncrement an integer, creating it at 0 if missing.
KEYSList every live key.
FLUSHALLEmpty the cache.