Support compression for static files - #2003
Merged
tshemsedinov merged 7 commits intoApr 4, 2026
Merged
tshemsedinov merged 7 commits into
tshemsedinov merged 7 commits into
Conversation
Contributor
Author
|
if we don't want to use |
xxsanekxx
commented
Jan 14, 2026
xxsanekxx
force-pushed
the
feature/support-compression-for-static
branch
from
January 14, 2026 18:45
c58be88 to
c3aae14
Compare
tshemsedinov
requested changes
Feb 9, 2026
xxsanekxx
force-pushed
the
feature/support-compression-for-static
branch
2 times, most recently
from
February 10, 2026 06:27
0a6e053 to
2178d39
Compare
xxsanekxx
force-pushed
the
feature/support-compression-for-static
branch
from
February 11, 2026 17:22
2178d39 to
f90ce00
Compare
tshemsedinov
left a comment
Member
There was a problem hiding this comment.
We need tests with real http requests to ensure client side will understand decoding method
Member
|
Looks like ready to land after landing metacom PR metarhia/metacom#527 and adding tests |
tshemsedinov
requested changes
Mar 21, 2026
tshemsedinov
left a comment
Member
There was a problem hiding this comment.
Need to fix tests for older node versions
tshemsedinov
reviewed
Apr 4, 2026
Co-authored-by: Timur Shemsedinov <timur.shemsedinov@gmail.com>
tshemsedinov
reviewed
Apr 4, 2026
Co-authored-by: Timur Shemsedinov <timur.shemsedinov@gmail.com>
tshemsedinov
approved these changes
Apr 4, 2026
Member
|
Fixed bug here: c66f150 |
This file contains hidden or 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
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.
Added support for compression for static files (gzip, deflate, br, zstd)
To use compression, we need to pass the compression type into the options:
new Static('lib', application, { compressType: 'br', });issue: #2002
In metacom it's enough to refactor transport (http)
npm t)npm run fix)