[wp-trac] [WordPress Trac] #18525: zlib.output_compression "on" in server conflicts with autoupdate

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 5 02:58:13 UTC 2011


#18525: zlib.output_compression "on" in server conflicts with autoupdate
------------------------------------+------------------------------
 Reporter:  avidre                  |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  General                 |     Version:  3.2.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by dd32):

 > This function is registered as a shutdown hook, though. We don't always
 want to use the $disable_compression flag, right? Just when it's
 absolutely necessary to give instant feedback?

 I wasn't aware of that.. Seems rather useless in all honesty.. I'm sure
 there's a reason for it though.

 > From my testing (apache2 / mod_php), it does seem like the output is
 being buffered, even pulling out all of the other tricks in this patch.
 Sending a 4K block of null bytes shouldn't have any affect on the output,
 but does make the responses feel snappier.

 I'll do some testing on a stand-alone script, see what I can come up with.
 Usually a few loops, well placed sleep()'s will give you a explanation as
 to what's happening where..

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18525#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list