Cloudfront
CloudFront
CloudFront is a CDN AWS-service which operates at Edge Locations around the world closer to the users. It can cache the static assets and deliver them to the end-users quite fast.
Lambda@Edge
functions run here
Lambda@Edge
runs your code in response to events generated by CloudFront. In this scenario we can useLambda@Edge
to change the path pattern before forwarding a request to the origin and thus removing the context.
CloudFront is able to route incoming requests with different path patterns to different origins or origin groups by configuring its cache behavior rules:
Backlinks