Skip to content

Commit 6336520

Browse files
authored
docs: use cross-platform compatible info emoji (#358)
1 parent 7bdf41a commit 6336520

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Adds compression utils to [the Fastify `reply` object](https://fastify.dev/docs/latest/Reference/Reply/#reply) and a hook to decompress requests payloads.
88
Supports `gzip`, `deflate`, and `brotli`.
99

10-
> 🛈 Note: In large-scale scenarios, use a proxy like Nginx to handle response compression.
10+
> ℹ️ Note: In large-scale scenarios, use a proxy like Nginx to handle response compression.
1111
1212
> ⚠ Warning: Since `@fastify/compress` version 4.x, payloads compressed with the `zip` algorithm are not automatically uncompressed. This plugin focuses on response compression, and `zip` is not in the [IANA Table of Content Encodings](https://www.iana.org/assignments/http-parameters/http-parameters.xml#content-coding).
1313
@@ -58,7 +58,7 @@ await fastify.register(
5858
```
5959
Fastify encapsulation can be used to set global compression but run it only in a subset of routes by wrapping them inside a plugin.
6060

61-
> 🛈 Note: If using `@fastify/compress` plugin together with `@fastify/static` plugin, `@fastify/compress` must be registered (with *global hook*) **before** registering `@fastify/static`.
61+
> ℹ️ Note: If using `@fastify/compress` plugin together with `@fastify/static` plugin, `@fastify/compress` must be registered (with *global hook*) **before** registering `@fastify/static`.
6262
6363
### Per Route options
6464
Different compression options can be specified per route using the `compress` options in the route's configuration.

0 commit comments

Comments
 (0)