Full Page Reload
Unanswered
Curlew Sandpiper posted this in #help-forum
Curlew SandpiperOP
Hey,
I'm having an issues navigation. So we're self hosting our Next.js 15(15.5.6) app and I've noticed that in deployment when navigating between pages there is a full reload but if I run the same build on local it won't fully reload the page and it will do a client side navigation.
After some digging I've notived that for the same request /page?rsc=_..... on my local machine I have a response type of text/x-component and on my deployment there is a text/html.
I'm wondering what am I doing wrong, is there some kind of headers or smth that Next needs in order to respond with x-comonent type?
Thanks!
I'm having an issues navigation. So we're self hosting our Next.js 15(15.5.6) app and I've noticed that in deployment when navigating between pages there is a full reload but if I run the same build on local it won't fully reload the page and it will do a client side navigation.
After some digging I've notived that for the same request /page?rsc=_..... on my local machine I have a response type of text/x-component and on my deployment there is a text/html.
I'm wondering what am I doing wrong, is there some kind of headers or smth that Next needs in order to respond with x-comonent type?
Thanks!