Beware expiration is from when you write. It does not refresh on read. So a key can be read a lot an
Beware expiration is from when you write. It does not refresh on read. So a key can be read a lot and still expire once the TTL is over.

list keys then run get on those keys. My problem is that get returns null if I get those keys too quickly (after the write request)... What is the proper solution here? I'm thinking of writing a while loop that keeps geting those keys until KV returns something other than null?while loop, but it really sounds like you want more durable storage, so something like Durable Objects would likely be better suited: https://developers.cloudflare.com/workers/learning/using-durable-objects/