[Koha-bugs] [Bug 36463] We should compress our JSON responses (gzip deflate mod_deflate application/json)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 29 16:48:06 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36463
Phil Ringnalda <phil at chetcolibrary.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #164128|0 |1
is obsolete| |
--- Comment #2 from Phil Ringnalda <phil at chetcolibrary.org> ---
Created attachment 164137
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164137&action=edit
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 at chetcolibrary.org>
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list