Fix maximum key length for memcached.
Use relative expiry times for memcached key expiry.