expiry

Torsten Foertsch torsten.foertsch at gmx.net
Fri May 26 17:49:45 UTC 2006


On Friday 26 May 2006 13:21, Joshua Thijssen wrote:
> When I add an item to the memcache and use an expiry-timestamp, it will
> expire, no matter how many times the key is read in the remaing time. Is
> it possible to create an item with a expiry-timestamp (an relative
> value, say 60seconds), which gets reset each time the item is read so
> so the item would stay in the cache until it's not read for a long time
> or when we remove it.

I have posted a patch some time ago (~april) that beside other things includes 
a way to make expiry times relative to the last access. If you cannot find it 
I'll send you as private mail.

Torsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/memcached/attachments/20060526/d53c6158/attachment.pgp


More information about the memcached mailing list