Skip to content

Application with long initialization does not pass the audit #14938

Answered by adamraine
jpx100 asked this question in Q&A
Discussion options

You must be logged in to vote

You can extend how long Lighthouse waits after the page load event using a custom config:

export default {
  extends: 'lighthouse:default',
  settings: {
    // This will control how long Lighthouse needs to wait after the load event
    pauseAfterLoadMs: 10_000,
  }
}

Feel free to tune the value of pauseAfterLoadMs yourself, I just chose 10s as a starting point.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jpx100
Comment options

Answer selected by jpx100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants