change default cache to memory