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
When starting an app with renderStream the streaming is not working in prod mode. The page waits until the server has done its job before completing the request. It works fine in dev mode.
Expected behavior 🤔
It should work in prod and dev mode.
Context 🔦
I looked through a couple of things and noticed this old PR (#167). For whatever reason the headers in prod look like this : accept: 'image/avif,image/webp,*/*', and therefor the compression kicks in and prevents the streaming. If I disable the compression the issue is fixed and everything works perfect. I have patched the package and thats fine for my use case at the moment.
Your environment 🌎
OS: Linux
Binary: Node 20.0.9
OS: Linux
solid-js: "1.8.5",
solid-start: "0.3.10",
The text was updated successfully, but these errors were encountered:
In setting up for SolidStart's next Beta Phase built on Nitro and Vinxi we are closing all PRs/Issues that will not be merged due to the system changing. If you feel your issue was closed by mistake. Feel free to re-open it after updating/testing against 0.4.x release. Thank you for your patience. See #1139 for more details.
Duplicates
Latest version
Current behavior 😯
When starting an app with
renderStream
the streaming is not working in prod mode. The page waits until the server has done its job before completing the request. It works fine in dev mode.Expected behavior 🤔
It should work in prod and dev mode.
Context 🔦
I looked through a couple of things and noticed this old PR (#167). For whatever reason the headers in prod look like this :
accept: 'image/avif,image/webp,*/*',
and therefor the compression kicks in and prevents the streaming. If I disable the compression the issue is fixed and everything works perfect. I have patched the package and thats fine for my use case at the moment.Your environment 🌎
The text was updated successfully, but these errors were encountered: