greenbone / gsad

Greenbone Security Assistant HTTP Server - The server talking to the Greenbone Vulnerability Management daemon (gvmd).
GNU Affero General Public License v3.0
11 stars 14 forks source link

Add: compress responses in exec_gmp_get #143

Closed mattmundell closed 11 months ago

mattmundell commented 1 year ago

What

In exec_gmp_get, compress responses with deflate (zlib).

Why

Speeds up data transfer by reducing size of transfer. Helps especially when the network is slow and pages are sending many MB. For example, the edit_config_family request when editing family 'Databases' with 'good 2g' throttling:

  main: 58s
  patch: 6s
github-actions[bot] commented 1 year ago

Conventional Commits Report

Type Number
Added 1

:rocket: Conventional commits found.