Track & log cache hits & misses to the DB