Open Mokto opened 11 months ago
Hi @Mokto! I ran into a similar issue, but it turned out to be the deployment platform. Can you share some details about your current env/deployment setup?
From the SvelteKit docs:
On platforms that do not support streaming, such as AWS Lambda or Firebase, responses will be buffered. This means the page will only render once all promises resolve. If you are using a proxy (e.g. NGINX), make sure it does not buffer responses from the proxied server.
Doesn't work locally.
Would be curious about this with the new Bun release: https://bun.sh/blog/bun-v1.1.27
When trying to use streaming with Bun (https://kit.svelte.dev/docs/load#streaming-with-promises), the page waits for the whole data to load. It doesn't stream promises.
Thanks.