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

Add support for HTTP/2 (h2c) in adapter-node #10615

Closed
bluepuma77 opened this issue Aug 24, 2023 · 2 comments
Closed

Add support for HTTP/2 (h2c) in adapter-node #10615

bluepuma77 opened this issue Aug 24, 2023 · 2 comments

Comments

@bluepuma77
Copy link

bluepuma77 commented Aug 24, 2023

Describe the problem

http/1 is slower, http/2 is faster. Currently SvelteKit does not support HTTP/2.0 out-of-the-box.

This topic has been raised before, even had a pull request, which was mainly denied because of

  1. the risk of developers abusing integrated TLS to serve without a reverse proxy (?)
  2. custom adapters can be implemented

Describe the proposed solution

Enable HTTP/2.0 (h2c) without TLS in SvelteKit, so users can benefit from decreased latencies and improved page load speeds.

That way a reverse proxy can handle TLS, and we can benefit from the http/2 speed improvements on the internal network.

Alternatives considered

Devs can build their own adapter to support http/2, but that is not seamless (issue), therefore default support would make life much easier and more SvelteKit apps faster.

Importance

would make my life easier

Additional Information

"As of July 2023, 36% (after topping out at just over 50%) of the top 10 million websites support HTTP/2." Wikipedia.

@Conduitry
Copy link
Member

Please don't open new issues for things that you know already have existing issues. Duplicate of #1451.

@Conduitry Conduitry closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2023
@bluepuma77
Copy link
Author

@Conduitry Sorry for this, I assumed the issue was closed as the pull request was denied, next time I will double check.

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

2 participants