View | Details | Raw Unified | Return to bug 36531
Collapse All | Expand All

(-)a/debian/templates/apache-shared.conf (-1 / +1 lines)
Lines 37-43 SetEnv PERL5LIB "/usr/share/koha/lib" Link Here
37
    # Compress content with type html, text, and css, ...
37
    # Compress content with type html, text, and css, ...
38
    AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css
38
    AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css
39
    AddOutputFilterByType DEFLATE application/xml application/xhtml+xml application/rss+xml
39
    AddOutputFilterByType DEFLATE application/xml application/xhtml+xml application/rss+xml
40
    AddOutputFilterByType DEFLATE application/javascript application/x-javascript application/json
40
    AddOutputFilterByType DEFLATE application/javascript text/javascript application/x-javascript application/json
41
41
42
    DeflateCompressionLevel 9
42
    DeflateCompressionLevel 9
43
43
(-)a/etc/koha-httpd.conf (-3 / +4 lines)
Lines 50-55 Link Here
50
     mod_gzip_item_exclude rspheader Content-Type:image/*
50
     mod_gzip_item_exclude rspheader Content-Type:image/*
51
     mod_gzip_item_include file \.js$
51
     mod_gzip_item_include file \.js$
52
     mod_gzip_item_include mime ^application/javascript$
52
     mod_gzip_item_include mime ^application/javascript$
53
     mod_gzip_item_include mime ^text/javascript$
53
     mod_gzip_item_include mime ^application/x-javascript$
54
     mod_gzip_item_include mime ^application/x-javascript$
54
     mod_gzip_item_include file \.php$
55
     mod_gzip_item_include file \.php$
55
     mod_gzip_item_include mime ^text/html$
56
     mod_gzip_item_include mime ^text/html$
Lines 62-68 Link Here
62
    # Compress content with type html, text, and css, ...
63
    # Compress content with type html, text, and css, ...
63
    AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css
64
    AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css
64
    AddOutputFilterByType DEFLATE application/xml application/xhtml+xml application/rss+xml
65
    AddOutputFilterByType DEFLATE application/xml application/xhtml+xml application/rss+xml
65
    AddOutputFilterByType DEFLATE application/javascript application/x-javascript application/json
66
    AddOutputFilterByType DEFLATE application/javascript text/javascript application/x-javascript application/json
66
67
67
    DeflateCompressionLevel 9
68
    DeflateCompressionLevel 9
68
69
Lines 189-194 Link Here
189
     mod_gzip_item_exclude rspheader Content-Type:image/*
190
     mod_gzip_item_exclude rspheader Content-Type:image/*
190
     mod_gzip_item_include file \.js$
191
     mod_gzip_item_include file \.js$
191
     mod_gzip_item_include mime ^application/javascript$
192
     mod_gzip_item_include mime ^application/javascript$
193
     mod_gzip_item_include mime ^text/javascript$
192
     mod_gzip_item_include mime ^application/x-javascript$
194
     mod_gzip_item_include mime ^application/x-javascript$
193
     mod_gzip_item_include file \.php$
195
     mod_gzip_item_include file \.php$
194
     mod_gzip_item_include mime ^text/html$
196
     mod_gzip_item_include mime ^text/html$
Lines 201-207 Link Here
201
     # Compress content with type html, text, and css, ...
203
     # Compress content with type html, text, and css, ...
202
     AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css
204
     AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css
203
     AddOutputFilterByType DEFLATE application/xml application/xhtml+xml application/rss+xml
205
     AddOutputFilterByType DEFLATE application/xml application/xhtml+xml application/rss+xml
204
     AddOutputFilterByType DEFLATE application/javascript application/x-javascript application/json
206
     AddOutputFilterByType DEFLATE application/javascript text/javascript application/x-javascript application/json
205
207
206
     DeflateCompressionLevel 9
208
     DeflateCompressionLevel 9
207
209
208
- 

Return to bug 36531