-
Notifications
You must be signed in to change notification settings - Fork 545
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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2178 +/- ##
==========================================
- Coverage 69.52% 69.51% -0.01%
==========================================
Files 189 189
Lines 7275 7276 +1
Branches 823 823
==========================================
Hits 5058 5058
- Misses 1921 1922 +1
Partials 296 296
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@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: