How to remove Next-Router-State-Tree, Next-Router-Prefetch from Vary Headers #66471
Unanswered
srikanth912
asked this question in
Help
Replies: 2 comments 1 reply
-
Similarly, using |
Beta Was this translation helpful? Give feedback.
1 reply
-
Not for the safety reason but we need a custom vary header for fine-grained control of CDN Cache. Hope it can be move forward as soon as possible! |
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
-
Summary
Hello Everyone,
Is there a way to disable below header from response headers ? Our security team don't typically like headers that expose the framework/tech used to build and suggested we remove it. I totally get it view source will immediately give it away it's Next.js.
RSC, Next-Router-State-Tree, Next-Router-Prefetch
Example of the header from nextjs website:
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions