Rework a little more around cache stats updating.
Add another diagnostic.