ssr-caching #14618
Unanswered
DmitryOlkhovoi
asked this question in
Help
ssr-caching
#14618
Replies: 0 comments
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.
-
https://github.com/vercel/next.js/tree/canary/examples/ssr-caching
Hi guys, it looks like
renderToHTML
returns a response, and therefore the example is broken because cachable-response also is trying to return the content (Error [ERR_HTTP_HEADERS_SENT]). Cannot set headers after they are sent to the client). I tried the canary release and I see the same problem. How I can make this example work?Beta Was this translation helpful? Give feedback.
All reactions