[wp-trac] [WordPress Trac] #27122: Optimization for PHP FPM

WordPress Trac noreply at wordpress.org
Thu Feb 13 22:59:22 UTC 2014


#27122: Optimization for PHP FPM
-------------------------+-----------------------------
 Reporter:  dunglas      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:  performance  |
-------------------------+-----------------------------
 This patch make {{{ wp_ob_end_flush_all }}} calling {{{
 fastcgi_finish_request }}} instead of {{{ ob_end_flush }}} when php-fpm is
 used.
 {{{ fastcgi_finish_request }}} flush the buffers '''and''' close the
 connection. This tweak increases page speed.
 It also allows to run heavy tasks such as sending mail, writing logs or
 making complex calculations after the end of the request without slowing
 down the whole page load.

 Symfony uses this tweak too, see this PR FOR further details:
 https://github.com/symfony/symfony/issues/1180

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27122>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list