use relative memcached expiration if possible. Closes #1444

thanks to @nickautomatic