[wp-trac] Re: [WordPress Trac] #9005: Cron spawning improvements

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 31 20:03:17 GMT 2009


#9005: Cron spawning improvements
-------------------------+--------------------------------------------------
 Reporter:  azaozz       |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.8      
Component:  General      |      Version:           
 Severity:  normal       |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by filosofo):

 Replying to [comment:8 azaozz]:
 > > ... So instead let's fallback for them on making a direct call to
 wp_cron() on shutdown.
 >
 > This was the first thing I've tested. Unfortunately that would slow down
 page load considerably in some cases.

 Could you elaborate?  {{{wp_ob_end_flush_all()}}} is called on shutdown
 with priority 1, so all text should already be sent to the browser when
 wp_cron() does its thing.  I would think that while the request might
 still be open, the complete DOM should already be there, and all the JS,
 for example, would be able to do its thing.  And of course, this should
 only occur occasionally for a few blogs.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/9005#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list