Re: [website] Turn on gzip compression
15 Feb
2011
15 Feb
'11
8:04 p.m.
Actually, a better way to accomplish this is to add: php_flag zlib.output_compression On to the .htaccess file. I'm a little surprised it was not there already. -N On 02/15/2011 01:02 PM, André Hentschel wrote:
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(a)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(); ?>
5418
Age (days ago)
5418
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jeremy Newman