In the example below, a cache serves 90 small icons while the origin supplies ten large downloads. That is a 90 percent request hit ratio and a byte hit ratio below one percent. Which number matters depends on whether requests or transferred bytes are the cost you need to reduce.
Work the two denominators
Suppose each icon is 1 KB and each download 1,000 KB. The edge serves 90 KB from its cache and retrieves 10,000 KB for the other responses. The request hit ratio is 90 divided by 100. The byte hit ratio in this simplified example is 90 divided by 10,090, or about 0.9 percent.
| Resource | Requests | Cache hits | Bytes delivered |
|---|---|---|---|
| 1 KB icons | 90 | 90 | 90 KB |
| 1,000 KB downloads | 10 | 0 | 10,000 KB |
Explain changes in the traffic mix
A release adding many tiny cached icons can raise the request ratio without relieving a constrained download origin. Split measurements by asset family, cache eligibility and deployment period. Keep the reporting platform’s treatment of bypasses, revalidation and errors consistent before comparing weeks.
Choose the outcome the origin needs
For an application constrained by rendering capacity, watch expensive upstream requests and latency. For a download site paying for egress, watch upstream bytes and invoices. Compare those observations with edge hit rates because shielding, compression and partial transfers can change their relationship.
Sources & further reading
Reader questions
Should authenticated pages count against our target?
Report them visibly, but distinguish intentionally private responses from eligible public misses. A universal target can create pressure to cache responses that should remain private.
