support cache hit rate statistics
(cherry picked from commit 3bbb54b)