You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rendering logic is using the standard Accept HTTP header to drive the response type and caching used by the framework. This is not ideal for proxies and caching. See some additional information at #49
Suggested solution
Use custom HTTP headers to drive the rendering logic and to choose the response type and framework level caching type.
use React-Server-RSC header to request an RSC payload response
use React-Server-Remote header to request an RSC delegation response
use React-Server-Standalone header to request standalone type routing logic
Existence of the above HTTP headers will drive the rendering logic.
Possible combinations are:
React-Server-RSC with an optional React-Server-Standalone
React-Server-Remote with an optional React-Server-Standalone
React-Server-RSC and React-Server-Remote can't be used in the same request!
Description
The rendering logic is using the standard
Accept
HTTP header to drive the response type and caching used by the framework. This is not ideal for proxies and caching. See some additional information at #49Suggested solution
Use custom HTTP headers to drive the rendering logic and to choose the response type and framework level caching type.
React-Server-RSC
header to request an RSC payload responseReact-Server-Remote
header to request an RSC delegation responseReact-Server-Standalone
header to request standalone type routing logicExistence of the above HTTP headers will drive the rendering logic.
Possible combinations are:
React-Server-RSC
with an optionalReact-Server-Standalone
React-Server-Remote
with an optionalReact-Server-Standalone
React-Server-RSC
andReact-Server-Remote
can't be used in the same request!Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: