Add cache metrics + record ressurection bug fix