Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with streaming #44

Open
Mokto opened this issue Dec 28, 2023 · 3 comments
Open

Not working with streaming #44

Mokto opened this issue Dec 28, 2023 · 3 comments

Comments

@Mokto
Copy link

Mokto commented Dec 28, 2023

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.

@ambergristle
Copy link

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.

@Mokto
Copy link
Author

Mokto commented Apr 27, 2024

Doesn't work locally.

@KyleFontenot
Copy link

Would be curious about this with the new Bun release: https://bun.sh/blog/bun-v1.1.27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@Mokto @KyleFontenot @ambergristle and others