Issue #1167144 by chx, catch, claudiu.cristea: Make cache backends responsible for their own storage.