Skip to content
Discussion options

You must be logged in to vote

Following up here: the Client Router Cache no longer caches Page components by default.

You can opt into the previous Client Router Cache behavior by setting the following configuration:

const nextConfig = {
  experimental: {
    staleTimes: {
      dynamic: 30,
    },
  },
};
 
module.exports = nextConfig;

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@am-unklown
Comment options

Comment options

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

@paulschuetz
Comment options

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