In this post we'll look at measuring the cache hit ratio for web requests in an application. First, what is a cache hit ratio, and why do we even care about it? Cache hit ratios have importance in computing outside of web applications, specifically for cache hits within a CPU, but for this post we're concerned about web requests. We care about the cache hit ratio because it can have a significant impact on the response times for our users. The higher the ratio, the faster most requests will be for users of our application.