Replies: 1 comment
-
Huge bump |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
1.Provides a "staleTimes"-like configuration for each route to control the cache time of each client route
Non-Goals
No response
Background
I need to ensure that every time I open this page, the data obtained is the latest, and I don’t want to put the initial request in the client component; I can only configure the "staleTimes" of "experimental" in "next-config" to 0 to achieve this function, but this will cause the cache of other routes to fail.
Proposal
Just like the "dynamic" configuration
Beta Was this translation helpful? Give feedback.
All reactions