@don-neufeld, just realized something. We can only count cache hits after the the promise that queries the cache gets resolved. So it seems that using promise is the only way to do this. Or I missed something?