Commit 49a6bd3
Lower Brotli default compression level to 4 (#238)
Brotli defaulted to level 11 (near-max), which is too slow for an HTTP
response path. Set a fast, HTTP-sensible default of 4 and add an
explicit Zstd default of 3. GZIP and Deflate have no public level
setter in utopia-php/compression 0.1.4, so their PHP defaults (6) are
left as-is.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 8754f5f commit 49a6bd3
2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
625 | 627 | | |
626 | 628 | | |
627 | 629 | | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
628 | 636 | | |
629 | 637 | | |
630 | 638 | | |
| |||
0 commit comments