AWS Lambda@Edge allows you to customize the delivery of the content that is stored in the Amazon S3 bucket which will enable to access the additional whitelisted headers, custom headers within the origin facing events. You can configure Amazon CloudFront to cache and forward a country header the Amazon S3 origin and then you can utilize the Lambda@Edge to dynamically redirect the viewers to the country-specific versions of the website which is based on the viewer’s location. CloudFront also caches the responses to enhance the performance on the subsequent request to the website.
No comments:
Post a Comment