[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
Mon Dec 1 14:17:42 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 SergeyBiryukov):
In [changeset:"61332" 61332]:
{{{
#!CommitTicketReference repository="" revision="61332"
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
#10561 Restore prior wp_cron() logic when ALTERNATE_WP_CRON is enabled].
Follow-up to [60925].
Reviewed by westonruter, SergeyBiryukov.
Merges [61313] to the 6.9 branch.
Props karl94, peterwilsoncc, parthvataliya, johnbillion, westonruter.
See #63858.
Fixes #64315.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63858#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list