CloudFlare KV Refresh TTL whenever key is accessed

I was wondering if it is possible to refresh the expire TTL of a key when using NAMESPACE.get. My goal is to keep keys that are being accessed and to remove keys that aren't being accessed anymore. So if my TTL is 60 seconds, any time it is fetched it resets it back to 60 seconds.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server