Bugzilla – Attachment 3276 Details for
Bug 5846
mod_gzip can missing compressing Javascript files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed bugfix
0001-bug-5846-fix-detection-of-Javascript-to-compress-by-.patch (text/plain), 1.29 KB, created by
Galen Charlton
on 2011-03-09 22:17:08 UTC
(
hide
)
Description:
proposed bugfix
Filename:
MIME Type:
Creator:
Galen Charlton
Created:
2011-03-09 22:17:08 UTC
Size:
1.29 KB
patch
obsolete
>From 66f7367e54cf7eeabf1765fac9221d235b8c298e Mon Sep 17 00:00:00 2001 >From: Galen Charlton <gmcharlt@gmail.com> >Date: Wed, 9 Mar 2011 17:13:40 -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 <gmcharlt@gmail.com> >--- > etc/koha-httpd.conf | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf >index 2c8dfa0..bc2b4d8 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$ >-- >1.7.2.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5846
: 3276