Skip to content

Commit 28f34e2

Browse files
committed
feat: Formatting
1 parent 7617ed0 commit 28f34e2

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/02_concepts/13_compression.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ Once installed, the client detects it at startup and switches to brotli automati
2929

3030
## Comparison
3131

32-
| | Brotli | Gzip |
33-
|---|---|---|
34-
| **Compression ratio** | Better than gzip at quality 6 | Good |
35-
| **CPU cost** | Moderate at quality 6 | Low |
36-
| **Availability** | Requires the `brotli` extra | Built-in — no extra needed |
37-
| **`Content-Encoding` header** | `br` | `gzip` |
38-
| **Best for** | Large payloads where bandwidth matters | Minimal-dependency environments |
32+
| | Brotli | Gzip |
33+
|-------------------------------|----------------------------------------|---------------------------------|
34+
| **Compression ratio** | Better than gzip at quality 6 | Good |
35+
| **CPU cost** | Moderate at quality 6 | Low |
36+
| **Availability** | Requires the `brotli` extra | Built-in — no extra needed |
37+
| **`Content-Encoding` header** | `br` | `gzip` |
38+
| **Best for** | Large payloads where bandwidth matters | Minimal-dependency environments |
3939

4040
:::tip
4141
For most workloads, the bandwidth savings from brotli outweigh the small CPU overhead. Install the `brotli` extra unless you are running in an environment where installing additional packages is not feasible.

0 commit comments

Comments
 (0)