Commit 82314137 authored by Kristian Heruc's avatar Kristian Heruc Committed by Tim Neutkens

Add X-Powered-By info to the docs (#6775)

parent cf73809c
......@@ -1450,6 +1450,17 @@ module.exports = {
}
```
#### Disabling X-Powered-By
Next.js generates X-Powered-By response header with version information for every page. You can disable it with:
```js
// next.config.js
module.exports = {
poweredByHeader: false
}
```
#### Configuring the onDemandEntries
Next exposes some options that give you some control over how the server will dispose or keep in memories pages built:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment