[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
Tue Nov 18 05:04:12 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:
                                                 |  westonruter
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.9
Component:  Cron API                             |     Version:  2.1
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:
  tests has-dev-note                             |  performance
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * keywords:  has-patch needs-testing needs-dev-note has-unit-tests => has-
     patch needs-testing has-unit-tests has-dev-note


Comment:

 Dev note: https://make.wordpress.org/core/2025/11/18/wordpress-6-9
 -frontend-performance-field-guide/#spawn-wp-cron-at-shutdown-instead-of-
 init

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


More information about the wp-trac mailing list