How Caching Works with CloudFront Edge Caches - Amazon CloudFront

How Caching Works with CloudFront Edge Caches

One of the purposes of using CloudFront is to reduce the number of requests that your origin server must respond to directly. With CloudFront caching, more objects are served from CloudFront edge locations, which are closer to your users. This reduces the load on your origin server and reduces latency.

The more requests that CloudFront can serve from edge caches, the fewer viewer requests that CloudFront must forward to your origin to get the latest version or a unique version of an object.

The proportion of requests that are served from caches to all requests is called the cache hit ratio. You can view the percentage of viewer requests that are hits, misses, and errors in the CloudFront console. For more information, see CloudFront Cache Statistics Reports.

A number of factors affect the cache hit ratio. You can adjust your CloudFront distribution configuration to improve the cache hit ratio by following the guidance in Increasing the Proportion of Requests that Are Served from CloudFront Edge Caches (Cache Hit Ratio).