ttl is seconds
add memcached code