[wp-trac] [WordPress Trac] #63858: Trigger the wp_cron action from the shutdown hook instead of the init hook to reduce TTFB (⏱️ Time To First Byte) and improve performance 📈

WordPress Trac noreply at wordpress.org
Fri Aug 22 06:37:08 UTC 2025


#63858: Trigger the wp_cron action from the shutdown hook instead of the init hook
to reduce TTFB (⏱️ Time To First Byte) and improve performance 📈
-------------------------+-----------------------------
 Reporter:  pmbaldha     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Cron API     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Spawn cron via HTTP API requires around 1 second, as discussed on
 https://core.trac.wordpress.org/ticket/63547. We should trigger the
 wp_cron action from the shutdown hook instead of the init hook to reduce
 TTFB (Time To First Byte) and improve performance

 Reference: https://core.trac.wordpress.org/ticket/63547#comment:7

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


More information about the wp-trac mailing list