From 12cc56a9c7f2527e126fc32c920d141cf2fdd034 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 9 Mar 2011 17:14:56 -0500 Subject: [PATCH] bug 5846: fix detection of Javascript to compress by mod_gzip Update to default Apache config; should result in a slight performance benefit. Signed-off-by: Galen Charlton Signed-off-by: Chris Cormack --- etc/koha-httpd.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf index 2c8dfa0232..bc2b4d8324 100644 --- a/etc/koha-httpd.conf +++ b/etc/koha-httpd.conf @@ -32,6 +32,7 @@ mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader Content-Type:image/* mod_gzip_item_include file \.js$ + mod_gzip_item_include mime ^application/javascript$ mod_gzip_item_include mime ^application/x-javascript$ mod_gzip_item_include file \.php$ mod_gzip_item_include mime ^text/html$ @@ -128,6 +129,7 @@ mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader Content-Type:image/* mod_gzip_item_include file \.js$ + mod_gzip_item_include mime ^application/javascript$ mod_gzip_item_include mime ^application/x-javascript$ mod_gzip_item_include file \.php$ mod_gzip_item_include mime ^text/html$ -- 2.39.5