Memecache and redis config