mirror of
https://github.com/strapi/strapi.git
synced 2025-07-23 09:00:19 +00:00
27 lines
538 B
Markdown
27 lines
538 B
Markdown
---
|
|
title: Response time
|
|
---
|
|
|
|
The `X-Response-Time` header records the response time for requests in HTTP servers. The response time is defined here as the elapsed time from when a request enters the application to when the headers are written out to the client.
|
|
|
|
## Configuration
|
|
|
|
Configuration:
|
|
|
|
- Key: `responseTime`
|
|
- Environment: `development`
|
|
- Location: `./config/environments/development/server.json`
|
|
- Type: `boolean`
|
|
|
|
Example:
|
|
|
|
```js
|
|
{
|
|
"responseTime": true
|
|
}
|
|
```
|
|
|
|
Notes:
|
|
|
|
- Set to `false` to disable the response time header.
|