> Hello all, > > Nice to be a part of the memcached community. > > Is there any way, using the current libmemcached library, to > dynamically assign expiration to certain keys ? > What I am trying to do is the following : > > # expire key in 100 seconds > set key value 100 > # after 10 seconds, decide to modify the expiry to 150 seconds from > now > expire key 150 > > Is such an "expire" mechanism to dynamically alter expiration time > possible in memcached ?
A new command, "touch", was added to 1.4.8 a few days ago which does exactly this. Clients should start supporting it soon.
