You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,14 @@ This package provides the following middleware:
26
26
27
27
#### Compression Middleware
28
28
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.
30
30
31
31
**Ideal For**: Large JSON responses, static files, or data-intensive endpoints.
32
32
33
+
> [!INFO]
34
+
> To use Brotli effectively, ensure that the Brotli PHP extension is properly installed.
35
+
> https://pecl.php.net/package/brotli
36
+
33
37
> [!WARNING]
34
38
> When using Brotli, a client-side decoding error may occur with non-secure connections, as modern browsers generally support Brotli compression only over HTTPS.
0 commit comments