We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The API does not compress the (json) response. This leads to high traffic and increased loading times.
Statistics URL: https://w3champions.com/OverallStatistics/
API Requests:
https://website-backend.w3champions.com/api/w3c-stats/map-race-wins
https://website-backend.w3champions.com/api/w3c-stats/games-per-day
Source test result: https://pagespeed.web.dev/analysis/https-w3champions-com-OverallStatistics/7jpdz9z2je?form_factor=mobile
A) Enable compression at the proxy
website/docker-compose.token.yml
Lines 23 to 26 in 76c877e
Remove compression by frontend container: https://github.com/w3champions/website/blob/master/gzip.conf
B) Use Cloudflare (uses compression by default)
https://developer.chrome.com/docs/lighthouse/performance/uses-text-compression/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
The API does not compress the (json) response. This leads to high traffic and increased loading times.
Example
Statistics URL: https://w3champions.com/OverallStatistics/
API Requests:
https://website-backend.w3champions.com/api/w3c-stats/map-race-wins
https://website-backend.w3champions.com/api/w3c-stats/games-per-day
Source test result:
https://pagespeed.web.dev/analysis/https-w3champions-com-OverallStatistics/7jpdz9z2je?form_factor=mobile
Possible solution
A) Enable compression at the proxy
website/docker-compose.token.yml
Lines 23 to 26 in 76c877e
Remove compression by frontend container: https://github.com/w3champions/website/blob/master/gzip.conf
B) Use Cloudflare (uses compression by default)
Reference
https://developer.chrome.com/docs/lighthouse/performance/uses-text-compression/
The text was updated successfully, but these errors were encountered: