refreshing the cache time of a key
bharath venkatesh
bharathv6 at gmail.com
Wed Feb 27 07:17:17 EST 2008
hi ..
is it possible to refresh the cache time of a key with out having to
retrieving the cached data and storing it back in memcache .. for example if
a data is cached for
1 hour and at the 50th minute from the time this data has been cached i
want to store it in the cache for 1 more hour ..is there a function
to refresh the cache time by knowing the key of data with out having to do
get and set
i.e
data=mc.get(key)
mc.set(key,data,3600) # 1 more hour
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080227/0c9a22fa/attachment.html>
More information about the Python-list
mailing list