Koha/debian/templates
Phil Ringnalda 3e0c3032b6 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>
2024-05-23 14:27:29 +02:00
..
apache-shared-disable.conf
apache-shared-intranet-plack.conf
apache-shared-intranet.conf Bug 36322: Redirect docs dir to 404 2024-03-27 07:54:16 +01: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-23 14:27:29 +02:00
apache-site-https.conf.in Bug 34193: SSLProtocol enable in use versions and disable deprecated versions 2023-08-18 10:29:21 +03:00
apache-site.conf.in
koha-common.conf
koha-conf-site.xml.in Bug 25672: Convert to restricting to listed repositories only 2023-10-31 11:02:43 -03: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-23 11:46:25 +02:00
marc21-retrieval-info-bib-dom.xml
plack.psgi Bug 36149: Unset userenv from middleware 2024-04-24 07:36:20 +02: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