[website] Turn on gzip compression

André Hentschel nerv at dawncrow.de
Tue Feb 15 13:02:15 CST 2011


First make sure that works with your server...
---
 site |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/site b/site
index 5a7bd46..a776199 100644
--- a/site
+++ b/site
@@ -5,6 +5,8 @@
   by Jeremy Newman <jnewman at codeweavers.com>
 */
 
+ob_start("ob_gzhandler");
+
 // load modules and defines
 $file_root = realpath(dirname(__FILE__));
 require("{$file_root}/include/incl.php");
@@ -114,4 +116,5 @@ $html->page = $html->template("local", PAGE);
 $html->showpage();
 
 // done
+ob_end_flush();
 ?>
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list