[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 13:56:53 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36463

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 164128
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164128&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

-- 
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