Koha/debian/templates
Phil Ringnalda b9d4408648 Bug 36531: Serve text/javascript compressed, like application/javascript is
Koha serves static .js files as application/javascript (if /etc/mime.types
says to) and serves them compressed, but output_with_http_headers uses the
currently-correct text/javascript mimetype, and Koha doesn't compress that.

Test plan:
1. Set the preference EnableAdvancedCatalogingEditor to Enable.
2. Open the browser Web Developer Tools to the Network tab
3. Load Cataloging - Advanced editor
4. Click on the line for the framework?frameworkcode=&callback=define load
5. Note the content-type text/javascript, no Content-Encoding line, and
   the size of 1.9MB
6. Apply the patches from bug 36463 if they haven't been pushed, then this
   patch, and reset_all
7. Repeat steps 1-4, and note a Content-Encoding: gzip header and a
   Transferred size around 160KB

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit c52af2cef0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 3e0c3032b6)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2024-05-28 17:46:35 +00:00
..
apache-shared-disable.conf
apache-shared-intranet-plack.conf
apache-shared-intranet.conf Bug 36322: Redirect docs dir to 404 2024-03-26 15:57:23 +00:00
apache-shared-opac-plack.conf
apache-shared-opac.conf
apache-shared.conf Bug 36531: Serve text/javascript compressed, like application/javascript is 2024-05-28 17:46:35 +00:00
apache-site-https.conf.in Bug 34193: SSLProtocol enable in use versions and disable deprecated versions 2023-08-21 20:23:12 -10:00
apache-site.conf.in
koha-common.conf
koha-conf-site.xml.in Bug 30843: Add mfa_range configuration option for TOTP 2023-10-05 08:36:20 -10:00
koha-core.conf
koha-sites.conf
koha-worker@.service
log4perl-site.conf.in
marc21-retrieval-info-auth-dom.xml Bug 27198: Fix syntax in marc21-retrieval-info-auth-dom.xml 2024-05-28 17:10:41 +00:00
marc21-retrieval-info-bib-dom.xml
plack.psgi Bug 36149: Unset userenv from middleware 2024-05-01 15:35:19 +00:00
SIPconfig.xml
unimarc-retrieval-info-auth-dom.xml
unimarc-retrieval-info-bib-dom.xml
zebra-authorities-dom-site.cfg.in
zebra-biblios-dom-site.cfg.in
zebra.passwd.in