Back to results for “Performance”
AWS › Amazon CloudFront & Content Delivery

What is Amazon CloudFront and how does it improve website performance?

Beginner

Answer

Amazon CloudFront is a global content delivery network service that caches copies of your website content, such as images, videos, and web pages, at edge locations physically closer to your users around the world, so requests are served from a nearby location instead of traveling all the way back to your origin server, reducing latency significantly.
aws cloudfront create-distribution --origin-domain-name mybucket.s3.amazonaws.com
Real-world example A global news website uses CloudFront so that a reader in Tokyo loads images and articles from a nearby edge location instead of waiting for content to travel from a server located in the United States.

Common follow-ups: What is an edge location and how many does AWS operate?;How does CloudFront decide which edge location serves a specific user?