Open Sumu-Ning opened 1 year ago
Yea the second write would renew the TTL for the entity so the read wouldn't hit the network
Thank you for the quick feedback!
Will it be possible to add the (optional) ttl at the field level? As described before, the data in fieldA might already become stale, even though the whole object gets renewed.
Hey! Just got back from vacation. I don't think field level TTLs are going to be supported for now, it should be possible but would be a sizable feature and I'm not planning to take that on at the moment. Thanks for the inquiry!
If I have a type, with fields: id, fieldA and fieldB, assume the TTL is 10 seconds.
Assume I cached fieldA at time 5s, and cached fieldB at time 10s. If I request fieldA again at time 16s, will it hit cache or do a network call?
Thank you!