dynamicIO and back / forward caching #77330
Unanswered
alexw-at
asked this question in
App Router
Replies: 0 comments
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.
-
When using
dynamicIO
I expect all caching to be disabled by default, this includes the back / forward caching. Currently back / forward caching is still enabled when usingdynamicIO
. This causes old data to be shown when the user navigates using the browser back / forward buttons.I think dynamicIO should also disable back / forward caching and run server code every time the page is visited (like getServerSideProps).
Example: https://codesandbox.io/p/devbox/dynamic-io-and-back-forward-cache-zpxrww
Beta Was this translation helpful? Give feedback.
All reactions