What is Cache Miss?
A cache miss occurs when a requested resource is not found in a CDN or proxy cache, forcing the request to be forwarded to the origin server and then storing the response for future requests.
A cache miss is an event in which a caching system, such as a Content Delivery Network (CDN) edge server or a reverse proxy, does not contain the requested resource at the time of the client request. This means the cache cannot fulfill the request from its stored content. The cache must then forward the request to the origin server, which processes it and returns the full response. The cache typically stores this response before delivering it to the client, so subsequent identical requests can be served from cache as a cache hit.
Cache misses are classified into three types: cold miss (first request for a resource), capacity miss (resource was evicted due to cache size limits), and conflict miss (resource was displaced by another cached object due to cache indexing constraints). The miss rate, defined as the number of cache misses divided by total requests, is a key performance metric. A high miss rate indicates inefficient caching, increasing latency and origin server load. CDN operators tune cache-control headers, TTL values, and eviction policies (e.g., LRU, LFU) to minimize misses.
In the wider internet infrastructure stack, cache misses directly impact user experience and operational cost. Each miss adds round-trip time to the origin, which can be hundreds of milliseconds for distant servers. CDNs and browsers both implement caching; a browser cache miss triggers a network request, while a CDN cache miss may further propagate to the origin. Protocols like HTTP/1.1 (RFC 7234) define caching semantics, and the Cache-Status HTTP response header (proposed in RFC 9213) can indicate whether a response was a hit or miss. Reducing cache misses is a primary goal of CDN configuration and cache optimization strategies.
Key facts
- A cache miss forces a request to be forwarded to the origin server, increasing latency.
- Three types: cold miss (first access), capacity miss (eviction), conflict miss (index collision).
- Cache miss rate is a key performance indicator for CDN and proxy efficiency.
- HTTP caching behavior is governed by RFC 7234 (HTTP/1.1 Caching).
- Cache-Control headers, TTL, and eviction policies directly influence miss frequency.
How it works in practice
Related terms
References
More in CDN & Performance
Apdex Score
The Apdex Score is a standardised metric that measures user satisfaction with application performance by comparing response times against predefined target and tolerable thresholds.
Bandwidth Throttling
Bandwidth throttling is the intentional reduction of data transfer speed by a network operator or service provider to manage congestion, enforce usage policies, or control costs.
Brotli Compression
Brotli is a lossless compression algorithm developed by Google, offering higher text compression ratios than gzip, used by CDNs to reduce page load times.
Cache Hit
A cache hit occurs when a requested resource is found in a CDN edge cache and served directly to the client, bypassing the origin server entirely.
Cache Invalidation
Cache invalidation is the explicit removal of stored web objects from a cache so that new requests must revalidate or refetch them from the origin server.
CDN
A CDN (Content Delivery Network) is a geographically distributed network of proxy servers and data centers that deliver web content to users from the nearest edge location, reducing latency and offloading origin servers.
Core Web Vitals
Core Web Vitals are a set of three real-world user experience metrics (LCP, INP, CLS) defined by Google to quantify loading, interactivity, and visual stability on web pages.
Cumulative Layout Shift
Cumulative Layout Shift (CLS) is a Core Web Vital metric that measures the sum of all unexpected layout shift scores during a page's lifespan, quantifying visual stability.
Edge Computing
Edge computing is a distributed computing model that processes data and runs application logic at Points of Presence (PoPs) close to end users, minimizing round-trip latency and bandwidth usage compared to centralized cloud regions.
Image Optimization
Image optimization reduces image file size by selecting modern formats (WebP, AVIF), resizing to display dimensions, and tuning quality, improving page load speed and bandwidth usage.