]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 28 May 2024 17:44:01 +0000 (17:44 +0000)
commit301d796c62e813bab25626a333b3f3042fe61aef
tree690e99166ab6e0353941d52cdf44beaf225d60aa
parentd2a5a9783ba8cb687183797e0ee0c6970ebc472d
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>
(cherry picked from commit d8afbbf6615d56ac13a45e3ce658623d159c5a68)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
debian/templates/apache-shared.conf
etc/koha-httpd.conf