1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-28 03:29:35 +02:00
echo/middleware
Ingo Oppermann 42f07ed880
gzip response only if it exceeds a minimal length (#2267)
* gzip response only if it exceeds a minimal length

If the response is too short, e.g. a few bytes, compressing the
response makes it even larger. The new parameter MinLength to the
GzipConfig struct allows to set a threshold (in bytes) as of which
response size the compression should be applied. If the response
is shorter, no compression will be applied.
2023-05-31 08:53:33 +03:00
..
2022-10-12 21:47:21 +03:00
2023-05-12 22:14:29 +03:00
2022-11-21 15:59:14 +02:00
2022-11-21 15:59:14 +02:00
2022-11-21 15:59:14 +02:00
2023-05-12 22:14:29 +03:00
2022-10-12 21:47:21 +03:00
2022-12-17 11:16:00 +02:00
2022-11-21 15:59:14 +02:00
2022-11-12 23:56:47 +02:00
2023-02-22 00:00:52 +02:00
2023-02-22 00:00:52 +02:00
2023-02-22 00:00:52 +02:00
2023-02-19 20:26:17 +02:00
2022-03-16 08:09:29 +02:00