Skip to content

Commit 9e45e73

Browse files
committed
readme updated
1 parent 346b28b commit 9e45e73

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,14 @@ This package provides the following middleware:
2626

2727
#### Compression Middleware
2828

29-
Applies Gzip or Brotli compression to HTTP responses based on client support. This reduces the size of the response payload and enhances load times.
29+
Applies **Gzip** or **Brotli** compression to HTTP responses based on client support. This reduces the size of the response payload and enhances load times.
3030

3131
**Ideal For**: Large JSON responses, static files, or data-intensive endpoints.
3232

33+
> [!INFO]
34+
> To use Brotli effectively, ensure that the Brotli PHP extension is properly installed.
35+
> https://pecl.php.net/package/brotli
36+
3337
> [!WARNING]
3438
> When using Brotli, a client-side decoding error may occur with non-secure connections, as modern browsers generally support Brotli compression only over HTTPS.
3539

0 commit comments

Comments
 (0)