From 1508f598adc25577e0d415930165d8ad2c7b95ed Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Fri, 28 Aug 2009 17:46:19 +0000 Subject: [PATCH] sweet spot for compression, per: * http://spreadsheets.google.com/pub?key=t-EjyzEfh0t39hoQbf-a5fw --- includes/OutputHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/OutputHandler.php b/includes/OutputHandler.php index 1f4798b7cc..c730dc75e9 100644 --- a/includes/OutputHandler.php +++ b/includes/OutputHandler.php @@ -78,7 +78,7 @@ function wfGzipHandler( $s ) { $tokens = preg_split( '/[,; ]/', $_SERVER['HTTP_ACCEPT_ENCODING'] ); if ( in_array( 'gzip', $tokens ) ) { header( 'Content-Encoding: gzip' ); - $s = gzencode( $s, 3 ); + $s = gzencode( $s, 6 ); } } -- 2.20.1