mirror of
https://github.com/labstack/echo.git
synced 2025-11-29 22:48:07 +02:00
* 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.
8.6 KiB
8.6 KiB