🌐 CDN Edge Caching Bandwidth Offload

90% cache hit ratio means 10% of traffic still hits origin. At 10M requests/month with 50 KB average response, that is 50 GB of origin egress. At $0.09/GB, that is $4.50. Not scary. At 1B requests with 500 KB average, it is $45,000/month. Model it before you budget.

📦 Cache Configuration

Requests/month × average response size × cache-hit split. Total traffic, CDN-offloaded GB, residual origin traffic, and the dollar cost of what the cache does not absorb. Four numbers that anchor your CDN procurement conversation.

API responses 1-10 KB · Images 50-500 KB · Video chunks 500+ KB
AWS ~$0.09, CloudFront ~$0.085

CDN Cache Hit Ratio: 90% Caching = 10× Origin Cost Reduction

Content Delivery Networks (CDNs) operate on a simple but powerful premise: serve cached content from edge locations close to users, and only forward cache-miss requests to the origin server. Each percentage point of cache hit ratio directly reduces origin egress traffic, server load, and infrastructure cost. At a 90% cache hit ratio, only 10% of total traffic touches the origin — a 10× reduction in origin bandwidth demand and associated egress charges.

How This Calculator Models Cache Offload

The calculation is straightforward yet often overlooked during architecture planning:

Note: this calculator uses a flat per-GB rate for origin egress. For AWS tiered pricing (which applies volume discounts at scale), use the AWS Egress Cost Estimator for a more precise multi-band calculation.

Cache Hit Ratio Benchmarks by Content Type

Content TypeTypical Cache Hit RatioKey Factors
Static Assets (CSS, JS, images, fonts)95–99%Versioned URLs (fingerprinted filenames) enable indefinite caching. Immutable assets hit cache on every request after the first.
API Responses (semi-static data)80–95%Product catalogs, configuration, and reference data change infrequently. Set short TTLs (60–300s) with stale-while-revalidate to balance freshness and cache efficiency.
User-Generated Content (profiles, posts)50–80%Popular content is read frequently; tail content is rarely accessed. Cache warming and selective TTLs help optimize the Pareto distribution of requests.
Personalized / Authenticated Responses0–20%Per-user data is difficult to cache at the edge. Edge-side includes (ESI) or client-side personalization can separate cached templates from dynamic data.

CloudFront Free Tier: The Hidden Cost Advantage

AWS CloudFront includes a generous free tier: 1 TB of data transfer out per month, 10 million HTTP/HTTPS requests per month, and 2 million CloudFront Function invocations — all free, every month, indefinitely. For workloads under these limits, the CDN layer is effectively free, making the origin egress savings pure profit. Even beyond the free tier, CloudFront egress ($0.085/GB in the US) is often cheaper than direct S3/EC2 egress ($0.09/GB) for the first 10 TB — and the cache hit ratio multiplies those savings by reducing origin traffic.

Edge Caching Strategies for Maximum Offload

Maximizing cache hit ratio requires deliberate engineering. Use content-addressable URLs (hash in filename) for immutable assets to enable long-term caching. Apply Cache-Control: public, max-age=31536000, immutable for fingerprinted assets. For dynamic content, implement stale-while-revalidate (RFC 5861) to serve stale cached content while asynchronously refreshing — users never wait for origin latency. Configure origin shield (regional cache layers in CloudFront) to collapse multiple concurrent cache-miss requests into a single origin fetch, reducing origin load by an additional 60-80% for popular cacheable content.

Pricing Basis, Sources & Assumptions

Every rate on this page is a published vendor list price — no negotiated discounts, private pricing, or credit offsets. Totals are in USD and exclude tax. Rates were last checked against the sources below on .

Pricing inputBasis used on this page
RegionUS East (N. Virginia) for the AWS origin-egress default ($0.09/GB) and US/Canada for the CloudFront alternative ($0.085/GB). Both are published single-rate figures, not regional averages.
CurrencyUSD — on-demand list price, tax excluded
Last checked — The two origin rates offered as defaults — AWS direct egress at $0.09/GB and CloudFront at $0.085/GB — were re-checked on this date.

Modelling assumptions

What this model excludes

Sources

  1. AWS (2026). "Amazon EC2 Data Transfer Pricing." Direct internet egress tiers — the $0.09/GB first tier used as the origin default. aws.amazon.com
  2. AWS (2026). "Amazon CloudFront Pricing." The cheaper-at-scale alternative ($0.085/GB in North America) and the free tier. aws.amazon.com
  3. Fastly (2026). "Fastly CDN Caching Concepts." How hit ratio translates into origin offload, and where the ratio is measured. developer.fastly.com

Vendor list prices change without notice — re-check the linked pages before committing spend. jslet takes no vendor sponsorship and carries no affiliate links; see about.