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
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
+
> [!WARNING]
34
+
> When using Brotli, a client-side decoding error may occur with non-secure connections, as modern browsers generally support Brotli compression only over HTTPS.
35
+
33
36
---
34
37
35
38
## Setup
@@ -66,6 +69,49 @@ Route::get('/profile', function () {
0 commit comments