<div style="text-align:center"></div><div>
<p><a href="https://make.wordpress.org/core/2023/07/11/performance-chat-agenda-11-july-2023/">Meeting agenda here</a> and the full chat log is available <a href="https://wordpress.slack.com/archives/C02KGN5K076/p1688482778399099">beginning here on Slack</a>.</p>
<h2 class="wp-block-heading">Announcements</h2>
<ul>
<li>Welcome to our new members of <a href="http://wordpress.slack.com/messages/core-performance/">#core-performance</a></li>
<li>WP 6.3 Beta 4 is today</li>
<li>Working on a WordPress 6.3 performance highlights post – please add suggestions to the <a href="https://docs.google.com/document/d/1DRlTaCpalmf9CPEFaVjkUKFXJ83ZHjoyOYga-9oVimE/edit">document</a> by July 21</li>
<li>Work continues on dev notes for 6.3</li>
</ul>
<h2 class="wp-block-heading" id="focus-group-updates">Priority Projects</h2>
<h3 class="wp-block-heading" id="images">Server Response Time</h3>
<p><a href="https://make.wordpress.org/performance/roadmap-2023/#category-server-response-time">Link to roadmap projects</a></p>
<p>Contributors: <a href="https://profiles.wordpress.org/joemcgill/" class="mention"><span class="mentions-prefix">@</span>joemcgill</a> <a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> <a href="https://profiles.wordpress.org/aristath/" class="mention"><span class="mentions-prefix">@</span>aristath</a></p>
<ul>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> committed
<ul>
<li><a href="https://core.trac.wordpress.org/ticket/58758">Cached result for wp_theme_has_theme_json() is not invalided when theme is switched dynamically </a> / <a rel="noreferrer noopener" href="https://core.trac.wordpress.org/changeset/56185" target="_blank">https://core.trac.wordpress.org/changeset/56185</a></li>
<li><a href="https://core.trac.wordpress.org/ticket/58736">Dynamic property warning WP_Object_Cache</a> / <a rel="noreferrer noopener" href="https://core.trac.wordpress.org/changeset/56161" target="_blank">https://core.trac.wordpress.org/changeset/56161</a></li>
</ul>
</li>
<li><a href="https://profiles.wordpress.org/joemcgill/" class="mention"><span class="mentions-prefix">@</span>joemcgill</a> Nothing new from me, but I plan to do a smaller version of the profiling report like I did for last release with 6.3 once it’s closer to fully cooked</li>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> I have been keeping on eye on performance and seeing good results, even after lots of bug fixing and tweaks.</li>
<li><a href="https://profiles.wordpress.org/aristath/" class="mention"><span class="mentions-prefix">@</span>aristath</a> These past few days I’ve been working on the PHP autoloader for WP. There have been a lot of changes in WP 6.3, so I updated the implementation accordingly to account for all these changes (<a rel="noreferrer noopener" href="https://github.com/WordPress/wordpress-develop/pull/3470" target="_blank">PR#3470</a>)
<ul>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> I think we should discuss adding PHP autoloading to WP 6.4. I think that PR is getting close.</li>
</ul>
</li>
</ul>
<h3 class="wp-block-heading" id="images">Database Optimization</h3>
<p><a href="https://make.wordpress.org/performance/roadmap-2023/#category-database-optimization">Link to roadmap projects</a></p>
<p>Contributors: <a href="https://profiles.wordpress.org/aristath/" class="mention"><span class="mentions-prefix">@</span>aristath</a> <a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> <a href="https://profiles.wordpress.org/olliejones/" class="mention"><span class="mentions-prefix">@</span>olliejones</a> </p>
<ul>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> Created a ticket – <a rel="noreferrer noopener" href="https://core.trac.wordpress.org/ticket/58757" target="_blank">https://core.trac.wordpress.org/ticket/58757</a>. <- Good first bug.</li>
</ul>
<h3 class="wp-block-heading" id="object-caching">JavaScript &#038; CSS</h3>
<p><a href="https://make.wordpress.org/performance/roadmap-2023/#category-javascript-css">Link to roadmap project</a></p>
<p>Contributors: <a href="https://profiles.wordpress.org/mukesh27/" class="mention"><span class="mentions-prefix">@</span>mukesh27</a> <a href="https://profiles.wordpress.org/10upsimon/" class="mention"><span class="mentions-prefix">@</span>10upsimon</a> <a href="https://profiles.wordpress.org/adamsilverstein/" class="mention"><span class="mentions-prefix">@</span>adamsilverstein</a> <a href="https://profiles.wordpress.org/westonruter/" class="mention"><span class="mentions-prefix">@</span>westonruter</a></p>
<ul>
<li><a href="https://profiles.wordpress.org/10upsimon/" class="mention"><span class="mentions-prefix">@</span>10upsimon</a> Enhancing the WP Scripts API with a loading strategy:
<ul>
<li>A draft Dev Note is in progress and I believe almost ready to be published, huge shout out to <a href="https://profiles.wordpress.org/flixos90/" class="mention"><span class="mentions-prefix">@</span>flixos90</a> <a href="https://profiles.wordpress.org/joemcgill/" class="mention"><span class="mentions-prefix">@</span>joemcgill</a> and <a href="https://profiles.wordpress.org/westonruter/" class="mention"><span class="mentions-prefix">@</span>westonruter</a> for their invaluable contributions thus far</li>
<li>I’ve reached out to the documentation team around how to submit changes to Dev Hub pages, and have begun drafting potential documentation updates that will need to happen that are exclusive of the automated updates, with the goal of having those ready for review by latest mid week next week. Thanks @stevenlinx for pointing me in the right direction.</li>
<li>Worth noting that auxiliary documentation efforts (docs not auto generated from code) have reduced somewhat following removal of deferred inline scripts</li>
</ul>
</li>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> Created this ticket, for remove hardcoded style tags <a rel="noreferrer noopener" href="https://core.trac.wordpress.org/ticket/58775" target="_blank">https://core.trac.wordpress.org/ticket/58775</a></li>
<li><a href="https://profiles.wordpress.org/westonruter/" class="mention"><span class="mentions-prefix">@</span>westonruter</a> I’ve started exploring where script strategies can be used in core and Gutenberg. I don’t have a further update just yet but hope to have either a doc or set of tickets by next week.
<ul>
<li><a href="https://profiles.wordpress.org/joemcgill/" class="mention"><span class="mentions-prefix">@</span>joemcgill</a> We should take a look at default themes too. Let me know how I can best support</li>
<li><a href="https://profiles.wordpress.org/westonruter/" class="mention"><span class="mentions-prefix">@</span>westonruter</a> Yes, I mean to include that in core</li>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> I wonder if it could be used in the performance lab and plugin checker plugins as well.</li>
<li><a href="https://profiles.wordpress.org/westonruter/" class="mention"><span class="mentions-prefix">@</span>westonruter</a> Some of the changes may make sense as a module in PL first</li>
</ul>
</li>
<li><a href="https://profiles.wordpress.org/10upsimon/" class="mention"><span class="mentions-prefix">@</span>10upsimon</a> Although, I did do a performance comparison on a draft PR that <a href="https://profiles.wordpress.org/thekt12/" class="mention"><span class="mentions-prefix">@</span>thekt12</a> had added based on <a rel="noreferrer noopener" href="https://wordpress.slack.com/archives/C02KGN5K076/p1688725624827529" target="_blank">this slack discussion</a> and followed up in the thread, we agreed to pause on this for now and re visit it shortly with a broader script tree.</li>
</ul>
<h3 class="wp-block-heading" id="measurement">Images</h3>
<p><a href="https://make.wordpress.org/performance/roadmap-2023/#category-images">Link to roadmap projects</a></p>
<p>Contributors: <a href="https://profiles.wordpress.org/flixos90/" class="mention"><span class="mentions-prefix">@</span>flixos90</a> <a href="https://profiles.wordpress.org/thekt12/" class="mention"><span class="mentions-prefix">@</span>thekt12</a> <a href="https://profiles.wordpress.org/adamsilverstein/" class="mention"><span class="mentions-prefix">@</span>adamsilverstein</a> <a href="https://profiles.wordpress.org/joemcgill/" class="mention"><span class="mentions-prefix">@</span>joemcgill</a></p>
<ul>
<li><a href="https://profiles.wordpress.org/flixos90/" class="mention"><span class="mentions-prefix">@</span>flixos90</a> We got what I believe are the final lazy-loading &#038; fetchpriority enhancements &#038; fixes for this release committed. Lots of things landed last week and even earlier today</li>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> Code reviewed the following (and they are committed by others)
<ul>
<li><a rel="noreferrer noopener" href="https://core.trac.wordpress.org/ticket/58704" target="_blank">https://core.trac.wordpress.org/ticket/58704</a></li>
<li><a rel="noreferrer noopener" aria-describedby="qtip-230" href="https://core.trac.wordpress.org/ticket/58235" target="_blank">https://core.trac.wordpress.org/ticket/58235</a></li>
<li><a rel="noreferrer noopener" href="https://core.trac.wordpress.org/ticket/58680" target="_blank">https://core.trac.wordpress.org/ticket/58680</a></li>
<li><a rel="noreferrer noopener" href="https://core.trac.wordpress.org/ticket/58681" target="_blank">https://core.trac.wordpress.org/ticket/58681</a></li>
</ul>
</li>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> Created issue – block themes are adding either no lazy loading attributes / fetch priority <a rel="noreferrer noopener" href="https://core.trac.wordpress.org/ticket/58770" target="_blank">https://core.trac.wordpress.org/ticket/58770</a></li>
<li><a href="https://profiles.wordpress.org/joemcgill/" class="mention"><span class="mentions-prefix">@</span>joemcgill</a> I just committed the fix for <a rel="noreferrer noopener" href="https://core.trac.wordpress.org/ticket/58681" target="_blank">https://core.trac.wordpress.org/ticket/58681</a> earlier today. This is a workaround for the way images created in shortcodes are handled. I think we’ll want to revisit the overall strategy for how image optimizations are being applied because right now the logic is a bit fragile. That’s mostly due to challenges that were introduced outside our efforts, and not a criticism of our work on those features.</li>
</ul>
<h3 class="wp-block-heading" id="javascript">Measurement</h3>
<p><a href="https://make.wordpress.org/performance/roadmap-2023/#category-measurement">Link to roadmap projects</a></p>
<p>Contributors: <a href="https://profiles.wordpress.org/adamsilverstein/" class="mention"><span class="mentions-prefix">@</span>adamsilverstein</a> <a href="https://profiles.wordpress.org/olliejones/" class="mention"><span class="mentions-prefix">@</span>olliejones</a> <a href="https://profiles.wordpress.org/joemcgill/" class="mention"><span class="mentions-prefix">@</span>joemcgill</a> <a href="https://profiles.wordpress.org/mukesh27/" class="mention"><span class="mentions-prefix">@</span>mukesh27</a> <a href="https://profiles.wordpress.org/swissspidy/" class="mention"><span class="mentions-prefix">@</span>swissspidy</a></p>
<ul>
<li><a href="https://profiles.wordpress.org/mukesh27/" class="mention"><span class="mentions-prefix">@</span>mukesh27</a> Fixed one minor issue for automated performance tests and committed last week <a rel="noreferrer noopener" href="https://core.trac.wordpress.org/ticket/58674" target="_blank">https://core.trac.wordpress.org/ticket/58674</a> / <a rel="noreferrer noopener" href="https://github.com/WordPress/wordpress-develop/pull/4804" target="_blank">https://github.com/WordPress/wordpress-develop/pull/4804</a></li>
<li><a href="https://profiles.wordpress.org/swissspidy/" class="mention"><span class="mentions-prefix">@</span>swissspidy</a> I spent some time looking into the whole performance testing CI setup, how to make it reusable, etc. Will probably schedule a call or so to further discuss this &#038; then to some more exploring</li>
</ul>
<h3 class="wp-block-heading">Ecosystem Tools</h3>
<p><a href="https://make.wordpress.org/performance/roadmap-2023/#category-ecosystem-tools">Link to roadmap projects</a></p>
<p>Contributors: <a href="https://profiles.wordpress.org/joegrainger/" class="mention"><span class="mentions-prefix">@</span>joegrainger</a> <a href="https://profiles.wordpress.org/mukesh27/" class="mention"><span class="mentions-prefix">@</span>mukesh27</a></p>
<ul>
<li><a href="https://profiles.wordpress.org/mukesh27/" class="mention"><span class="mentions-prefix">@</span>mukesh27</a> We are working on the last issue for Milestone 2 for the <a rel="noreferrer noopener" href="https://github.com/orgs/10up/projects/12/views/1?filterQuery=label%3A%22Milestone+2%22" target="_blank">Plugin Checker</a>. Once complete we’ll be moving onto further QA/Testing and remediating over this week and next. Progress can be seen on the <a rel="noreferrer noopener" href="https://github.com/10up/plugin-check/" target="_blank">GitHub repo</a> here. Feel free to take a look and leave any thoughts/ideas you may have in the repo. Thanks!</li>
</ul>
<h3 class="wp-block-heading" id="infrastructure">Creating Standalone Plugins</h3>
<p><a href="https://github.com/WordPress/performance/issues/656">Link to GitHub overview issue</a></p>
<p>Contributors: <a href="https://profiles.wordpress.org/flixos90/" class="mention"><span class="mentions-prefix">@</span>flixos90</a> <a href="https://profiles.wordpress.org/mukesh27/" class="mention"><span class="mentions-prefix">@</span>mukesh27</a> <a href="https://profiles.wordpress.org/10upsimon/" class="mention"><span class="mentions-prefix">@</span>10upsimon</a></p>
<ul>
<li>No updates this week</li>
</ul>
<h1 class="wp-block-heading">Open Floor</h1>
<ul>
<li><a href="https://profiles.wordpress.org/adamsilverstein/" class="mention"><span class="mentions-prefix">@</span>adamsilverstein</a> I opened a new ticket to consider adding lazy loading to oEmbed iframes: <a rel="noreferrer noopener" href="https://core.trac.wordpress.org/ticket/58773" target="_blank">https://core.trac.wordpress.org/ticket/58773</a> – although iframes are lazy loaded by default now, oEmbeds are not included in that
<ul>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> Could lazily loading iframes have issues around tracking? Some embeds, like say a video provide, like iframe to load, so they can have view counts.</li>
<li><a href="https://profiles.wordpress.org/westonruter/" class="mention"><span class="mentions-prefix">@</span>westonruter</a> Embed iframes wouldn’t be used for tracking, I wouldn’t think. If the video is never played then the view count shouldn’t increase, right? So same as if it wasn’t loaded.</li>
<li><a href="https://profiles.wordpress.org/adamsilverstein/" class="mention"><span class="mentions-prefix">@</span>adamsilverstein</a> possibly, they would no longer load if they are off screen and never scrolled near the viewport</li>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> What if a video is auto playing? You could build your website for your youtube channel to have a post blog for each video. In that case you would want it to autoload play</li>
<li><a href="https://profiles.wordpress.org/westonruter/" class="mention"><span class="mentions-prefix">@</span>westonruter</a> Note that autoplay with audio doesn’t work on mobile</li>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> Autoload is only really a problem for ads. Autoload for a site where the user wants to see the video is differnet. On youtube, I would want to a video to autoload when I click on the video.</li>
<li><a href="https://profiles.wordpress.org/westonruter/" class="mention"><span class="mentions-prefix">@</span>westonruter</a> There may need to be a filter or documented way to turn off lazy load. However, if the video intends to autoplay then it should be in the first viewport, and thus it shouldn’t get loading=lazy anyway or it would load right away anyway. I don’t think we should worry about the case of an autoplay video being lazy-loaded that isn’t in the first viewport.</li>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> The embed code from youtube doesnt have lazy load attribute. Why is that the case?</li>
<li><a href="https://profiles.wordpress.org/adamsilverstein/" class="mention"><span class="mentions-prefix">@</span>adamsilverstein</a> there is an existing filter that can be used <code>wp_iframe_tag_add_loading_attr</code> </li>
<li><a href="https://profiles.wordpress.org/westonruter/" class="mention"><span class="mentions-prefix">@</span>westonruter</a> That’s a good question. I have been looking into that but haven’t found a reason yet.</li>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> Vimeo also doesn’t have lazy loading attributes. I feel like the embed provider wants to have them lazy load, they would.</li>
<li><a href="https://profiles.wordpress.org/adamsilverstein/" class="mention"><span class="mentions-prefix">@</span>adamsilverstein</a> we’ll need to test every embed type of course. i’d love if that were true, but providers aren’t doing that</li>
<li><a href="https://profiles.wordpress.org/westonruter/" class="mention"><span class="mentions-prefix">@</span>westonruter</a> These video providers predate the introduction of loading=lazy. Could be they just haven’t added it yet. Better for core to add anyway, because then we can omit from videos in the first viewport.</li>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> I think this functionality should have a merge prospal and get feedback from the community. I know for a fact, I have using video providers that use iframe and needed the video to load to mark as an impression. Having a filter is all good. But that means that video provide X needs to create a plugin to use the video to opt out.</li>
<li><a href="https://profiles.wordpress.org/westonruter/" class="mention"><span class="mentions-prefix">@</span>westonruter</a> Why should an impression be given if the video is never in the viewport?</li>
<li><a href="https://profiles.wordpress.org/adamsilverstein/" class="mention"><span class="mentions-prefix">@</span>adamsilverstein</a> we already announced and discussed oEmbeds would be lazy loaded in this post – <a rel="noreferrer noopener" href="https://make.wordpress.org/core/2021/02/19/lazy-loading-iframes-in-5-7/" target="_blank">https://make.wordpress.org/core/2021/02/19/lazy-loading-iframes-in-5-7/</a> we later reverted the change due to technical issues. lets start by discussing the tracking concerns on the trac ticket</li>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> Can we explore this idea as a module in the performance lab? That way we can have people test this functionality.</li>
<li><a href="https://profiles.wordpress.org/adamsilverstein/" class="mention"><span class="mentions-prefix">@</span>adamsilverstein</a> Absolutely, great idea! Here is the code needed to add the same functionality in a plugin – <a rel="noreferrer noopener" href="https://gist.github.com/adamsilverstein/e280062004c38629fc029b6d267bff91" target="_blank">https://gist.github.com/adamsilverstein/e280062004c38629fc029b6d267bff91</a> </li>
<li><a href="https://profiles.wordpress.org/spacedmonkey/" class="mention"><span class="mentions-prefix">@</span>spacedmonkey</a> Being able to test things like this is the point of the performance lab plugin. We can get feedback from the community that was as well.</li>
</ul>
</li>
</ul>
<p><strong>Our next chat will be held on <a href="https://www.timeanddate.com/worldclock/fixedtime.html?iso=20230718T1500"><abbr class="date" title="2023-07-18T15:00:00+00:00">Tuesday, July 18, 2023 at 15:00 UTC</abbr></a> in the <a href="https://wordpress.slack.com/messages/core-performance/">#core-performance channel</a> in <a href="https://make.wordpress.org/chat/">Slack</a>.</strong></p>
<p class="o2-appended-tags"><a href="https://make.wordpress.org/core/tag/core-performance/" class="tag"><span class="tag-prefix">#</span>core-performance</a>, <a href="https://make.wordpress.org/core/tag/performance/" class="tag"><span class="tag-prefix">#</span>performance</a>, <a href="https://make.wordpress.org/core/tag/performance-chat/" class="tag"><span class="tag-prefix">#</span>performance-chat</a>, <a href="https://make.wordpress.org/core/tag/summary/" class="tag"><span class="tag-prefix">#</span>summary</a></p>
</div>

WordPress 6.9 Beta 2 is now ready for testing! This beta version of the WordPress…
The WordPress Community Team is calling for contributors to help overhaul the tools that power…
As October winds down, so too does Blocktober, Tammie Lister’s month-long challenge to create a…
The WordPress Foundation and WooCommerce have joined Automattic and Matt Mullenweg in countersuing WP Engine,…
The first-ever CloudFest USA Hackathon, taking place November 4 in Miami, will bring together contributors…
Canada’s largest gathering of WordPress enthusiasts drew a strong turnout at Carleton University last weekend,…