maciej commented :
@manishrjain by read-your-writes I mean:
cache.Set("key", "value", 1) // set a value
value, found := cache.Get("key")
// expecting found to be true
without sleeping as in the example here: https://blog.dgraph.io/post/introducing-ristretto-high-perf-go-cache/