note 44059 added to ref.zlib

From: Date: Wed, 14 Jul 2004 00:03:22 +0000
Subject: note 44059 added to ref.zlib
Groups: php.notes 
Request: Send a blank email to php-notes+get-73191@lists.php.net to get a copy of this message
Run, do not walk, run, to add this to your Apache config file: php_flag zlib.output_compression On php_value zlib.output_compression_level 5 I just tried this and achieved 10x and 15x speed inprovement on some mature php pages. Pages I have been seating over to make 5% gains on. I use microtime() on critical pages to help me track page speed and that confirms the speed improvement. The php page takes a timestamp at the beginning and end, then logs the page duration. So any IP transmission effects are not included. There is a clear subjective difference to the user. The test system was PHP 4.3.6, Apache 2.0.49 over Linux 2.4. As always YMMV. ---- Manual Page -- http://www.php.net/manual/en/ref.zlib.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+44059 Delete -- http://master.php.net/manage/user-notes.php?action=delete+44059&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+44059&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#73191) next »