-
Notifications
You must be signed in to change notification settings - Fork 16
🚧 [Do not merge] Add support for HTTP2 #167
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
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cache files now show their compression in their extension
Closed until Node supports http2 natively. |
This was referenced Aug 8, 2017
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This should give a huge performance boost to DADI Web! Would be nice to profile some builds before and after.
Closes #155.
Closes #174.
Closes #175.
Closes #158.
Closes #168.
Closes #173.
Features
config.server.http2
istrue
(andconfig.server.protocol
ishttps
) 1config.globalPushManifest
andpage.pushManifest
for pushing assets over HTTP2/lib/view/public.js
3) for serving from the public folder - removed need for Express modules serve-static and serve-favicon.config.headers.useGzipCompression
toconfig.headers.useCompression
help.canCompress
which determines if caching is enabled on the system and tests if the client can accept a compressed outputzlib
forgzip
if not available)sendBackJSON
,sendBackHTML
intoview/send.js
sendBackJSONP
config.headers.useCompression
2media
path.To-do
help/pushAssets
andmiddleware/ServePublic
functions2. I think we should roadmap changing this toDoneuseCompression
as we’re detecting and using Brotli where available