1. What is a cache hit?
A cache hit occurs when a user request for your content is fulfilled by the closest edge server rather than the origin server. In contrast, a cache miss occurs when a similar request cannot be fulfilled by the closest edge server, meaning that the request has to travel all the way to the origin server and back again.
2. Why is this important?
Take a look at the image below. Note that the average host response time for a cache hit is just 7.52ms (milliseconds) compared to 715.12ms for a cache miss, a difference of 707.6ms. What this means is that when a user's request for this site content is fulfilled by the origin server rather than the closest edge server (a cache miss), it takes nearly a second longer on average for this content to be returned to Ezoic by the host than if it were to be fulfilled by the closest edge server instead (a cache hit). As you can see, this affects both time to first byte and time to interactive, as well as engagement.
A high cache hit rate combined with Ezoic’s free site speed features will help to ensure fast speeds and good Core Web Vitals for most sites.
3. What is the cache hit rate?
This is expressed as a percentage, and is calculated by taking the number of cache hits and dividing it by the number of cache hits and misses combined.
For instance, when Ezoic's CDN returns 95 cache hits and 5 cache misses, the cache hit rate would be 95%.
4. Where can I view my cache hit rate?
You are able to view your cache hit rate by navigating to the Analytics tab in your dashboard and scrolling to the Site Speed section in the left column. From there, you can select Caching > Ezoic Caching, and you'll see the cache hit and miss percentage data. You can also view the cache hit % on the home page of your Ezoic Dashboard.