]> git.koha-community.org Git - koha.git/commit
Bug 36463: Compress application/json
authorNick Clemens <nick@bywatersolutions.com>
Fri, 29 Mar 2024 12:54:30 +0000 (12:54 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 23 May 2024 12:17:57 +0000 (14:17 +0200)
commitd8afbbf6615d56ac13a45e3ce658623d159c5a68
tree0017749ec14f78f4448738138251c04673ac0047
parent77e513cf34d77312964b257c8ffd9f60b3e11b32
Bug 36463: Compress application/json

This patch simply adds application/json to the mod_deflate configuration

To test:
1 - Open the netowrk tab in firefox
2 - Load http://localhost:8081/api/v1/libraries
3 - Not the transferred size, and note no 'Content-Encoding: gzip" header
4 - Apply patch, reset_all (or edit /etc/koha/apache-shared.conf)
5 - Reload
6 - Note smaller size, note gzip header

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit bccf7764c0e3eea22713edb7d76f90c8d8bf8c2b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
debian/templates/apache-shared.conf
etc/koha-httpd.conf