I want to set the TTL for the keys while creating the connection. Right now I am setting it while writing to the cache. Is there a configuration parameter for this?
A:
According to this page, the options to MemCache.new
will accept a :ttl
entry.
Marcelo Cantos
2010-04-30 23:52:29