Next.js Discord

Discord Forum

hard-reload during navigation with third-party cache provider

Unanswered
Braque de l'Ariège posted this in #help-forum
Open in Discord
Braque de l'AriègeOP
I'm experiencing hard reloads while navigating through different pages in a Next.js web app with App Router and a third party cache provider enabled.

This may be caused by the text/html response type received instead of text/x-component when next.js is navigating in the client after sending a request with the ?_rsc url param.

Is there any official documentation for a proper third-party cache configuration with Next.js and AppRouter?
Or a documentation about which query params/headers are used to make client navigation work and which should be whitelisted/used as cache key by CDN?

1 Reply

Braque de l'AriègeOP
a discussion has been started on GitHub - https://github.com/vercel/next.js/discussions/83438
related GitHub issue - https://github.com/vercel/next.js/issues/83439