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.
![](https://support-osticket.s3.us-west-1.amazonaws.com/article_uploads/V%2BkDPVvs40kl5sKUByADNwfqyhI%3D_GQhXaNa8II5vwsMD01nEpA%3D%3D?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIARCESARAITQMIA5JY%2F20240826%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240826T072510Z&X-Amz-Expires=900&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEN%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJGMEQCIGXWyuV6aZNu9nwFTUuovT69dnvwy8hlFA5vbFyuy2dVAiAponhOF25b8UPcwuypvH810iUyz9HgYVHmqmdzo4aUkirDBQjo%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAAaDDA3MzMyMDY2MzA1NyIMee9xxap6DcrTI6DbKpcFXtOqHusMoJ2mLBoIagbuWnZe5va3BG8KNRSZoJCgggwnQoZaomDUbR%2FMsMB5eVttnCSRPq%2FFbucy%2FQab2sP5D0xXG3FhSbVagCKA6emyZRQDEWqCRuoVSNsezUFS5ckCfVr62mnN3jYbhpUxHUZqYqkmAAD%2F76s3mIJFRkwyAIEydyA6vRLGbpOgfP8uktApiZKX39NtXkalHMGepgTdKi4AEKavfEPuBjJXMcWpM2Ejwh52KwrYy5ud3X4aFSU7gwKT%2FLm9HAQeNl1AZiYJugttQelRZs%2BdT4UO0C%2FHzJuPHzF4PH0kI0QsshyNLdzBTJs%2FLlqrqz5bgBf38IjKEsuFFaKZPDhRg9LTdGMNiwHWEoPLV4U0vqgrk7f%2BaTahP5RvDB%2FsKgdjD%2BtAOk2nqCSDsCOMOeKtZRiJqiL%2FjVvTmG5gEQtnk91IrFyClaIZ1nKU6p62XDl6SE1a6vhmop7pLMg9d%2FkRW0SPh%2BCphaZQrCErWqsDuyL23Kp8L6OokcDv78CxD%2B7E8DN3VM3jsbKqWYrPlEKJeJH9p%2BwZbvBgc3jpwaQfU8qjswo58D7%2F04HxsXxbdwy4RN3VW8Z9L5okwKwNpXs9oYBnq4kaaX6BBHf%2BojMtckWtLq8%2FWw4Z%2B20JWjpR2N%2FyTxqR0QxMjgOdT0eX8gTcTZAkMQIHircGlzt8fPXme7220YFo%2BZC7lLrJL71R8luPoB7iWdYPIVRBNzTiLvRZxNp80fTN9hW57VT9a6tznzt44PUCig7Z%2FTLCGoQyzyncMHlcscxp1NuSfd%2Frv%2FdgBoRkL5aZr0IdvNCLO8RvlfSD1DnktJHQfvHu33yiqHt4ROO9HVl%2FP4scxPv0iiWkpVf8BsDLDhz3%2FNcYaZkhMPXQsLYGOrIBn%2FIGPrCrX98DFbY76GSdF7or64soVO1tL7q8B2OOqD5WWE2h5JJVfoolgMoFWG%2FFo4gtz4MArQS57JtY%2FhTSA0qg46XnezdSqUIZbSqy33IuFgVh0mpNK2MOD5GwC2sOjnPlBw4hM9u4Xk55wnW1OcpYEbHRptk9JWmV3o56kNDP%2Bn3UTrrApvyMYmaD%2FgGD8VMJTRk1hucdtdaqMiXcHusXlaObg%2FIj%2ByiDdSN%2Fk5kI3w%3D%3D&X-Amz-SignedHeaders=host&x-id=GetObject&X-Amz-Signature=65b99e466858d606dece5145c724a17aed8e0cf0c6ce73d64ab53588b275d38e)
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.