Server Timing

screenshot of Server Timing
express

This module adds [Server-Timing](https://www.w3.org/TR/server-timing/) to response headers, see [example](https://server-timing.now.sh/) and open chrome dev tool

Overview:

The server-timing module is designed to add Server-Timing to response headers, providing users with metrics on server-side execution times. This can be a useful tool for debugging and optimizing server performance. The module offers flexibility in configuration to enable or disable timing headers based on specific conditions.

Features:

  • Server-Timing Headers: Adds Server-Timing headers to response for monitoring server performance.
  • Configurability: Allows for custom configuration of timing items, names, descriptions, and precision.
  • Conditional Enabling: Can be conditionally enabled based on specified criteria.
  • Auto-End Functionality: Automatically calls endTime if timer is not manually stopped.

Summary:

The server-timing module is a useful tool for developers looking to monitor and optimize server-side performance. By providing detailed timing information in the response headers, it allows for better insight into request processing times. With its configurable options, users can tailor the module to suit their specific needs, enabling or disabling timing headers as required.

express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.