-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed as not planned
Description
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
- the risk of developers abusing integrated TLS to serve without a reverse proxy (?)
- 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.
Metadata
Metadata
Assignees
Labels
No labels