New feature: refresh [patch]...

Erik Mogensen mogsie at
Thu Nov 25 01:10:46 PST 2004

On on , 2004-11-24 at 12:15 -0800, Sean Chittenden wrote:
> That said, I've added a new command to memcached(8) called "refresh".  
> refresh behaves *exactly* the same as get, except that it refreshes the 
> expiration of the item based off of the original expiration time 
> provided by the client. 

Isn't this strikingly similar (identical?) in function to my request for
addition of "touch"?  Or have I missed something?

I agree that the Subject: header was misleading, but I wasn't sure of
how else one might use a "refresh" / "touch" command.  But refreshing
sessions like you describe is actually using memcached as a second level
cache, isn't it? :-)  The primary cache being the session object in the

More information about the memcached mailing list