Cloudfront PDF
Cloudfront PDF
Cache(Explanation)
• Amazon Cloudfront is a web service that gives businesses and web application developers an
easy and cost effective way to distribute content with low latency and high data transfer speed
• Amazon cloudfront has added several regional edge cache locations globally at close proximity
to our viewers
• They are located between our origin webserver and the global edge locations that serve content
directly to our viewers
• As objects become less popular individual edge locations may remove those objects to make
room for more popular content
• Regional edge cache working as a alternative of origin to reduce the burden of origin
• Regional edge cache have a large cache width than any individual edge location,so object
remian in the cache longer at the nearest regional edge caches
• When a viewer makes a request on our website or through our application,DNS routes the
request to the cloudfront edge location that can best serve the users request
• This location is typically the nearest cloudfront edge location in terms of latency
• In the edge location,cloudfront checks its cache for the requested files
• If the files are in the cache,cloudfront returns them to the user
• If the files are not n the cache,the edge servers go to the nearest regional edge cache to fetch
1/2
the object
• Regional edge cache have feature parity with edge locations .EX : a cache invalidation request
removes an object from both edge caches and regional edge caches before it expries
• The next time a viewer request the object,cloudfront returns to the origin to fetch the latest
version of the object
• Proxy method PUT/POST/PATCH/OPTIONS/DELETE go directly to the origin from the edge
locations and do not proxy through the regional edge caches
• Dynamic content as determined at request time,does not flow through regional edge cache,but
goes directly to the origin
LAB :
2/2