Weston Ruter
banner
weston.ruter.net
Weston Ruter
@weston.ruter.net
WordPress Core committer 👨🏻‍💻 Daddy² & husband 👨‍👩‍👦‍👦 Going by bike/bus/train 🚴‍♂️🚍🚈 Runner 🏃‍♂️ Cat person 😸 Linguaphile 🇲🇽🤟 Portland, Oregon 🇺🇸 [ˈwɛs.tn̩ ˈɹu.ɾɚ]

Blog: https://weston.ruter.net
Profile pic credit: @andy.thefragens.com
I also prototyped how to make this work reliably for async scripts via a single capturing load event listener on the document: github.com/westonruter/...
https://github.com/westonruter/as…
November 15, 2025 at 4:41 PM
Nice. We were looking at doing something like this for core but we didn't end up doing it (yet): core.trac.wordpress.org/ticket/58632
#58632 (Add support for 'async' and 'defer' loading to script that use inline scripts.) – WordPress Trac
Blog Tool and Publishing Platform
core.trac.wordpress.org
November 15, 2025 at 4:41 PM
No, I haven't.
November 13, 2025 at 4:15 PM
I'm working on a Dev Note for all the performance improvements, but in the mean time here is a gist of what's included: gist.github.com/westonruter/...
WordPress 6.9 Performance Improvments
WordPress 6.9 Performance Improvments. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
November 11, 2025 at 11:54 PM
This closely aligns with what I was saying in my recent talk at WordCamp US: just because something is good doesn’t mean it can’t be better!
The Site Speed Frontier with Performance Lab and Beyond - Weston Ruter
Analysis of the LCP impact for optimizations featured by the Performance Lab plugin and proposed for WordPress core. Presented at WCUS 2025.
weston.ruter.net
September 11, 2025 at 5:14 PM
*Weston ☺️
September 10, 2025 at 2:08 PM
I'm super excited to see all of this happen on Glisan ASAP! I can't wait for how these changes will improve pedestrian safety, facilitate cycling, and calm traffic to reduce the frequent speeding and racing that happens in these 10 blocks between 82nd and 92nd. And thank you, @pbotinfo.bsky.social!
September 9, 2025 at 9:30 PM
For intra-site navigations, I think speculation rules with moderate eagerness and prerendering is the much easier solution.
August 22, 2025 at 5:48 PM
I'll check it out! Yeah, good point that a PWA can all but eliminate TTFB when using cache-first or stale-while-revalidate, but only for repeat visitors. But there is still the service worker startup cost since you can't use navigation preload.
August 22, 2025 at 5:48 PM
A script printed any other way (including in event handler attributes) will be blocked from execution since it could have been added due to an XSS exploit. These will appear as errors in the console.
August 10, 2025 at 8:54 PM
To be compatible, themes and plugins must not print <script> tags directly. Instead, they must use the proper APIs: wp_enqueue_script(), wp_add_inline_script(), wp_localize_script(), wp_print_script_tag(), wp_print_inline_script_tag(), wp_enqueue_script_module() and the like.
August 10, 2025 at 8:54 PM
I just wish that the Gemini Code Assist plugin for JetBrains (PhpStorm) also automatically read from this .gemini/codestyle.md instead of requiring manual configuration of the prompt library in settings (i.e. copy the file contents and paste as the rules).
July 31, 2025 at 7:05 PM