Skip to content
Discussion options

You must be logged in to vote

This is the popular cache invalidation behavior called stale-while-revalidate, see https://datatracker.ietf.org/doc/html/rfc5861#section-3.

It's a design choice made by the Next.js team. If it doesn't fit your scenario then you'll have to find a third-party solution

Replies: 3 comments 3 replies

Comment options

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

Answer selected by shezhangzhang
Comment options

You must be logged in to vote
2 replies
@shezhangzhang
Comment options

@joulev
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants