Gzip-compress static assets (HTML, favicon, CSS)?
See original GitHub issueUpdate for QA (2019.07.16): please make sure the favicon
is still displayed in all envs.
According to https://webpagetest.org/performance_optimization.php?test=171103_BA_cfaf6b04d96bcc5ba50d34c420f4b7a2&run=4#compress_text, we don’t Gzip-encode/compress the following:
1,010.1 KB total in compressible text, target size = 441.3 KB - potential savings = 568.9 KB
FAILED - (619.1 KB, compressed = 79.2 KB - savings of 539.9 KB) - https://addons-amo-dev-cdn.allizom.org/amo-e10c3688997f3544f58365d7dfab0c72.css FAILED - (31.8 KB, compressed = 7.0 KB - savings of 24.8 KB) - https://addons-dev.allizom.org/en-US/firefox/addon/adobe-flash/ FAILED - (5.3 KB, compressed = 1.1 KB - savings of 4.2 KB) - https://addons-dev-cdn.allizom.org/favicon.ico?v=1
Looks like there might be an outstanding concern with the HTML assets due to CSRF leaking (https://github.com/mozilla/addons-server/issues/6636#issue-264291074) but filing for consideration.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:10 (9 by maintainers)
Deployed to -prod as well.
Favicon displayed in all envs. Marking the issue as verified.