Page MenuHomeVyOS Platform

Support HTTP compression in HAProxy responses
Closed, ResolvedPublicFEATURE REQUEST

Description

Summary

Add support for HTTP compression in HAProxy responses.

Details

HAProxy can be configured to compress HTTP response bodies for specified mine-type's that are not already compressed by backend servers.
The key advantage of this is reduction of network bandwidth and latency to clients.

Example of how this could be configured in VyOS:

set load-balancing haproxy service https-frontend http-compression algorithm 'gzip'
set load-balancing haproxy service https-frontend http-compression mime-type 'text/css'
set load-balancing haproxy service https-frontend http-compression mime-type 'text/html'

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

Embezzle changed the task status from Open to In progress.
Embezzle claimed this task.
Viacheslav changed the task status from In progress to Needs testing.Jan 27 2025, 8:57 PM

Tested as working in: 1.5-rolling-202501280006

dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.