[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
Thu Nov 27 17:04:36 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
-------------------------------------------------+-------------------------
Comment (by westonruter):
In [changeset:"61313" 61313]:
{{{
#!CommitTicketReference repository="" revision="61313"
Cron API: Restore spawning cron at `wp_loaded` when using alternate WP
Cron (`ALTERNATE_WP_CRON`).
Developed in https://github.com/WordPress/wordpress-develop/pull/10561
Follow-up to [60925].
Props karl94, peterwilsoncc, parthvataliya, johnbillion, westonruter.
See #63858.
Fixes #64315.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63858#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list