Replies: 1 comment 1 reply
-
got the same problem, should post to issues |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to get the HTML result of a render of page components that use getServerSideProps, but there is a check in
renderToHTMLWithComponnets()
(packages/next/next-server/server/next-server.ts, line 996) that forces the response to be sent immediately instead of being returned.My hope was to cache the result.
Can someone help me figure out why this is desirable as designed? It seems to be on purpose, so it feels like I'm using it wrong.
Beta Was this translation helpful? Give feedback.
All reactions