Replies: 2 comments
-
I'm having the same issue. I dropped back to version |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just opened #40275 which looks similar, its been 2 years, any progress? |
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
-
Bug report
Describe the bug
Cache-control
header is presented in response when working indev
mode. Inprod
mode this header is missing. I was also trying to set headers manually using custom express server before sending a responseres.set("Cache-control", "no-store, must-revalidate")
but it didn't make any change.To Reproduce
Steps to reproduce the behavior:
yarn create next-app
yarn dev
- check response headersyarn build
,yarn start
- check response headersExpected behavior
Cache-control
header is presented in bothdev
andprod
environments.Screenshots
Beta Was this translation helpful? Give feedback.
All reactions