Amazon CloudFront adds additional geolocation headers for more granular geotargeting
Additional geolocation headers are now available in Amazon CloudFront for use in new cache and origin request policies.
You can now configure CloudFront to add additional geolocation headers that provide more granularity in your caching and origin request policies. Previously, you could configure Amazon CloudFront to provide the viewer’s country code in a request header that CloudFront sends to your origin. The new headers give you more granular control of cache behavior and your origin access to the viewer’s country name, region, city, postal code, latitude, and longitude, all based on the viewer’s IP address.