Commit 285b27b3 authored by AugustinLF's avatar AugustinLF Committed by Tim Neutkens

Add doc to onDemandEntries configuration (#3030)

parent af59c9f6
......@@ -931,6 +931,21 @@ module.exports = {
}
```
#### Configuring the onDemandEntries
Next exposes some options that give you some control over how the server will dispose or keep in memories pages built:
```js
module.exports = {
onDemandEntries: {
// period (in ms) where the server will keep pages in the buffer
maxInactiveAge: 25 * 1000,
// number of pages that should be kept simultaneously without being disposed
pagesBufferLength: 2,
}
}
```
### Customizing webpack config
<p><details>
......
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