Response Headers

This guide covers the headers that Moovweb XDN injects into responses making them visible to your client code.

General headers

  • x-xdn-version: version fingerprint that includes XDN version number, site build number and UTC timestamp of the build
  • x-xdn-t: timings of all the components in Moovweb critical path that served your request
  • x-xdn-request-id: the unique ID of the request on Moovweb XDN infrastructure
  • x-xdn-hit-request-id: the unique ID of the request whose cached response is being returned (not present if cache miss)
  • x-xdn-caching-status: indicates why a response was or was not cached. See Caching.

Structure of x-xdn-t

The format is x-xdn-t: <id>=<time>[,<id2>=<time2>...]

x-xdn-t is an order list of timings: values are prepended at response time. Thus reading them left to right goes from the outermost edge component to the innermost cloud component that handled the request.

The components are:

  • Level 1 Edge POP = o
  • Level 2 Shield POP = s
  • Custom Moovweb Proxy = p
  • JavaScript Compute Workers = w

All times are in milliseconds.

NameDescription
otThe total time spent processing the request
orThe time spent matching routes at the edge pop
ofThe time spent fetching the response at the edge pop, either from the shield pop or from the serverless backend or origin
ocThe caching status for the edge pop
owThe free memory in bytes on the edge pop after processing the request
oqThe time spent at the edge pop in fetch queue during the request coalescing
stThe time spent processing the request at the shield pop
srThe time spent matching routes at the shield pop
sfThe time spent waiting for a response from the serverless backend or origin, including request queueing
scThe caching status for the shield pop
owThe free memory in bytes on the shield pop after processing the request
sqThe time spent at the shield pop in fetch queue during the request coalescing
bfThe time spent waiting for a response from the serverless backend or origin, including request queueing
pcThe number of times the request was scheduled to execute. If it's present it is normally 1, if not your account is under significant pressure and you should consider upgrading it.
pfThe time spent waiting for a response from the JavaScript worker
wmThe amount of memory used in MB by the JavaScript worker to process the request
wtThe JavaScript worker execution time
wrThe time spent matching routes in the JavaScript worker
waThe time spent transforming the request in JavaScript worker. Will only be provided if the request was transformed.
wpThe time spent waiting for your application (Next, Nuxt, Sapper, Angular, etc...) or origin to respond
wzThe time spent transforming the response in JavaScript worker. Will only be provided if the response was transformed.

Troubleshooting headers

The following headers are used internally by Moovweb staff to troubleshoot issues with requests.

  • x-xdn-status: statuses of different components in Moovweb XDN critical path that serviced your request
  • x-xdn-components: versions of different components in Moovweb XDN critical path that serviced your request