Posted On: Mar 31, 2022

Starting today, you can configure your CloudFront distributions to include Server Timing headers to monitor CloudFront behavior and performance. Server Timing headers provide detailed performance information, such as whether content was served from cache when a request was received, how the request was routed to the CloudFront edge location, and how much time elapsed during each stage of the connection and response process.

Server Timing headers provide additional metadata in the form of HTTP headers in viewer responses and can be inspected or consumed by client-side application code. You can use Server Timing headers to gain more granular insights when troubleshooting CloudFront performance, to inspect CloudFront behavior, and to collect and aggregate metrics across user-requested transactions, such as cache misses, first byte latency, and last byte latency.  

Server Timing headers are available for immediate use in all CloudFront edge locations. You can enable Server Timing headers through the CloudFront Console or the AWS SDK. There are no additional fees to use Server Timing headers. For more information, see the CloudFront Developer Guide.