Skip to content
Related Articles

Related Articles

HTTP headers | Server-Timing

Improve Article
Save Article
  • Last Updated : 27 Sep, 2021
Improve Article
Save Article

The HTTP Server-Timing header is a response-type header. This header is used to communicate between two or more metrics and descriptions for a given request-response cycle from the user agent. The HTTP Server-Timing header is useful to any back-end server timing metrics like read or write in any databases, accessing files, etc. It can be used in the developer tools to keep track of the server on the PerformanceServerTiming interface. The HTTP Server-Timing helps to perform in different ways to communicate with the metrics, those are listed below: 

  • metrics name
  • metric with value
  • metric with description
  • metric with value and description


Server-Timing: metricsname| metricsvalue | metricsdescription

Directives: There are no directives only need to mention the metrics name with all the details. 


  • This example shows the single metrics. 
Server-Timing: cdn-cache
  • This example shows the single metrics with the value. 
Server-Timing: edge; dur=33
  • This example shows the single metrics with description. 
Server-Timing: cdn-cache; desc=HIT
  • This example shows the double metrics with description and value. 
Server-Timing: cdn-cache; desc=HIT, edge; dur=1

To check this Server-Timing in action go to Inspect Element -> Network check the response header for Server-Timing like below, Server-Timing is highlighted.  

Supported Browsers: The browsers compatible with HTTP headers Server-Timing are listed below: 

  • Google Chrome
  • Firefox
  • Safari
  • Opera


My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!