mem: fix cache stats to use request ids correctly