Open james58899 opened 1 year ago
@james58899 thanks for reaching out, I'll raise this internally
Is there any progress?
Font CSS is usually on the critical path of web page rendering, so I think supporting brotli would be a huge speed improvement.
It is now 2024, maybe consider supporting zstd compression as well.
Please add brotli compression support to CSS API.
Currently, the CSS API uses gzip compression, but the CSS size will be large if using a lot of fonts or some fonts with a large number of characters, and worse if using multiple weights. Most browsers already support brotli, use brotli encoding will significantly save network traffic.
482368
134474
20741
464852
122655
19626
8085
2118
1541
17720
983
785
[^1]: All sizes in bytes. Using gzip and brotli CLI tools with default compression level.