]> 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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 8 Apr 2024 13:41:11 +0000 (15:41 +0200)
commitbccf7764c0e3eea22713edb7d76f90c8d8bf8c2b
treeb93058ef048dc64cff24007959a81ef7da277df9
parentd7702d6fad6c6ae4ac8c0ff0d104b17a299cde20
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>
debian/templates/apache-shared.conf
etc/koha-httpd.conf