Skip to content
Discussion options

You must be logged in to vote

You can use the experimental unstable_revalidate variable:

export async function getStaticProps(context) {
  return {
    props: { ... },
    unstable_revalidate: 10, // if someone hits the page 10 seconds after the last build, the page will be regenerated
  }
}

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@cmlbrnc
Comment options

@rafaelalmeidatk
Comment options

@cmlbrnc
Comment options

@cmlbrnc
Comment options

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