Ori.livneh has submitted this change and it was merged.

Change subject: Apache: set DeflateCompressionLevel to 9
......................................................................


Apache: set DeflateCompressionLevel to 9

The default is to use zlib's default, which is 6. In my tests, the savings were
neglible, but better than nothing.

Change-Id: I4d471434e4252304dce9ab850c85a585ead66a8b
---
M modules/mediawiki/files/apache/sites/main.conf
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Ori.livneh: Verified; Looks good to me, approved



diff --git a/modules/mediawiki/files/apache/sites/main.conf 
b/modules/mediawiki/files/apache/sites/main.conf
index 13b8cf5..b4562d8 100644
--- a/modules/mediawiki/files/apache/sites/main.conf
+++ b/modules/mediawiki/files/apache/sites/main.conf
@@ -850,6 +850,7 @@
 LoadModule deflate_module /usr/lib/apache2/modules/mod_deflate.so
 <IfModule mod_deflate.c>
     <IfModule mod_filter.c>
+        DeflateCompressionLevel 9
         AddOutputFilterByType DEFLATE text/css text/javascript 
application/x-javascript
     </IfModule>
 </IfModule>

-- 
To view, visit https://gerrit.wikimedia.org/r/231088
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4d471434e4252304dce9ab850c85a585ead66a8b
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to