-
Notifications
You must be signed in to change notification settings - Fork 542
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
feat: add gzip middleware #2178
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2178 +/- ##
==========================================
+ Coverage 62.70% 69.51% +6.81%
==========================================
Files 62 189 +127
Lines 3928 7276 +3348
Branches 0 823 +823
==========================================
+ Hits 2463 5058 +2595
- Misses 1178 1922 +744
- Partials 287 296 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@nic-6443 Because the frontend static files are not compiled and correctly placed during the backend E2E test, the server will respond to 404 errors. Just ignore it. |
@nic-6443 I have fixed this problem. |
Yes, static files size decrease greatly after gzip. |
Nice job! |
Add gzip middleware to optimize user experience in a weak network environment.
Why submit this pull request?
Related issues
fix/resolve #2165
Checklist: