Improve default cache backend handling