New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add doc to onDemandEntries configuration #3030
Conversation
readme.md
Outdated
module.exports = { | ||
onDemandEntries: { | ||
// period where the server will keep pages in the buffer, defaults to 25s | ||
maxInactiveAge, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets do maxInactiveAge: 25
etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I amended the commit!
module.exports = { | ||
onDemandEntries: { | ||
// period (in ms) where the server will keep pages in the buffer | ||
maxInactiveAge: 25 * 1000, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, this looks much better
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
I didn't add docs when adding the
pagesBufferLength
option. SincemaxInactiveAge
was not documented either, this is a PR for both options.