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 http2 and https support to the dev server #104

Merged
merged 5 commits into from
Mar 20, 2021
Merged

add http2 and https support to the dev server #104

merged 5 commits into from
Mar 20, 2021

Conversation

ryanatkn
Copy link
Owner

@ryanatkn ryanatkn commented Mar 20, 2021

This adds http2 and https support to the dev server. I was hoping it would speed up loading pages with large module waterfalls, but so far it seems like slows things down by 10-20%. I'm not sure if this is due to an oversight in the code, or if http2 just won't speed up this use case. If the latter is the case, a better long term situation is to probably use the cache-control: immutable header as much as possible, though we need import maps for that: WICG /import-maps/issues/146

@ryanatkn ryanatkn changed the title http2 Mar 20, 2021
@ryanatkn ryanatkn merged commit 09d6dad into main Mar 20, 2021
@ryanatkn ryanatkn deleted the http2 branch March 20, 2021 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant