शब्दकोश · क्लाउड और होस्टिंग

Amazon CloudFront

Amazon CloudFront is the AWS content delivery network that caches content at edge locations worldwide to reduce latency and origin load.

अपडेट: अक्टूबर 6, 2026

Amazon CloudFront is the content delivery network (CDN) of Amazon Web Services. It caches copies of your content at edge locations close to visitors and fetches from your origin, such as an S3 bucket or a web server, only when the cache has no valid copy.

Why it matters

A CDN shortens the distance between visitor and content, lowering latency and absorbing traffic that would otherwise hit your origin. CloudFront also terminates TLS at the edge, supports custom domains and certificates, and integrates with AWS WAF and edge functions. Data sent from AWS origins to CloudFront is handled differently from direct internet egress, which can affect cost, so check current pricing.

Example

A distribution is created for cdn.example.com with an S3 origin. A request flow looks like:

Browser -> edge location (cache MISS) -> origin -> edge stores copy
Browser -> edge location (cache HIT)  -> returned without origin

You can inspect the X-Cache: Hit from cloudfront response header to see which case occurred.

Common mistakes

  • Setting no cache policy, so dynamic pages are cached too long or static files are not cached at all.
  • Updating a file without changing its name or invalidating it, so visitors keep the old copy.
  • Forwarding cookies or query strings to the origin unnecessarily, which destroys the cache hit ratio.

Get notified when this term updates

Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.

यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.