Skip to content
Permalink
Browse files
Add doc to onDemandEntries configuration (#3030)
  • Loading branch information
AugustinLF authored and timneutkens committed Oct 5, 2017
1 parent af59c9f commit 285b27b3999ba54700df0ce93fd4ecd9f64c58bc
Showing 1 changed file with 15 additions and 0 deletions.
@@ -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>

0 comments on commit 285b27b

Please sign in to comment.