Browser & Web Performance · Junior · Question 47 of 75
Why does serving text resources with Brotli or gzip help performance?
- 1It makes images load in higher quality
- ✓Correct answer: Compression makes HTML, CSS and JS much smaller to transfer
- 3It makes JavaScript execute faster
Explanation
Text compresses very well. The browser advertises support in Accept-Encoding, the server answers with Content-Encoding.