Author: Jonny Harris

  • Enhancing WP_Query Performance in WordPress

    Enhancing WP_Query Performance in WordPress

    WP_Query is a powerful tool for fetching posts in WordPress. However, if you don’t carefully configure your queries, they can quickly become inefficient, particularly on larger sites. Whether you’re working on a high-traffic website, a REST API endpoint, or an Ajax-powered interface, the way you configure WP_Query can make a significant difference in performance. In…

  • Optimising WP_User_Query Performance: Lazy Loading, Query Caching, and Memory Efficiency in WordPress

    Optimising WP_User_Query Performance: Lazy Loading, Query Caching, and Memory Efficiency in WordPress

    When working with WordPress sites that have a large number of users—especially in Multisite environments or setups that heavily rely on user meta—you may have noticed significant performance issues when querying users. The primary reason for this is how WordPress loads user data: • WP_User_Query retrieves user data from the database. • Each user is…

  • Embracing the WordPress Community: A Year of Growth and Gratitude

    Embracing the WordPress Community: A Year of Growth and Gratitude

    As the sun sets on 2023, I find myself reflecting on a year filled with growth, learning, and immense gratitude. This past year has been a journey like no other, all thanks to the incredible WordPress community that has supported me every step of the way. I’ve delved into the heart of WordPress, contributed to…

  • Reviving the WordPress OAuth1 Plugin

    Reviving the WordPress OAuth1 Plugin

    The WordPress landscape is ever-evolving, and as technology advances, plugins that once thrived can fall by the wayside. One such plugin, the WordPress OAuth1 plugin, has been in need of attention, having last seen an update in March 2017. In this blog post, I’m excited to announce the release of the latest version, 0.4.3, breathing…

  • Leaving XWP, but Not WordPress: A Brief Respite

    Leaving XWP, but Not WordPress: A Brief Respite

    After four incredible years at XWP, the time has come for me to take a step back from the WordPress open source community. It’s a decision that I didn’t take lightly, but one I believe is necessary for my personal and professional growth. Before I embark on this brief hiatus, I want to take a…

  • Improve front end performance with just one line of PHP

    Improve front end performance with just one line of PHP

    While working on WordPress core, I discovered a pretty amazing function: wp_maybe_inline_styles. This function hooks into the style enqueueing process in WordPress. Instead of outputting a <link> tag with an href attribute to a url of a CSS file, which when rendered in the browser requires a blocking HTTP request to get the CSS file…

  • Making WordPress Core faster

    I had the chance to talk to Remkus De Vries on his podcast to talk about WordPress performance. This was recorded a while ago ( which is why I am wearing a christmas jumper ). Remkus is really doing great things and if you are not already following on twitter ( @remkusdevries ) or subscribe…

  • New role

    New role

    Today, I am happy to annouce that I will working full time on the WordPress core performance project. I will be sponsored by XWP to work full time on work on WordPress core performance project and will be working closing with the Google and 10up teams. Working on open source full time, has been a…

  • REST API Performance with Jonny Harris

    I am on this month’s Headless WP Podcast. We talk about performance, scaling and the REST API. Really interesting conversion.

  • Improve WP_Query performance if using external object cache

    Improve WP_Query performance if using external object cache

    Are you using an external object cache, like Memcache or Redis? Is so, there is a little one line piece of code that can improve the performance of WP_Query and performance in general on your site. Why does this improve performance? See these lines in WordPress core. The filter split_the_query determinants if the database query…

  • Looking for a new role 

    Looking for a new role 

    I am sad to announce that XWP has not renewed my contract as of the end of January. This news came as a shock to me and many of my fellow XWP team members that received the news last week. I am currently in the process of looking for my next role in the WordPress…

  • Live stream: WordPress Performance Team: year 1

    I am going to be involved in a live stream, where we talk about the first year of contributing to the WordPress performance project. Check it out. 🔗: https://twitter.com/i/spaces/1yNGaNlkBORJj?s=20📆: Monday Dec 19⏰: 2p EST

  • 5 Reasons WordPress 6.1 is a Release Like No Other

  • Noteworthy Contributor in WordPress 6.1

    Noteworthy Contributor in WordPress 6.1

    I am super proud to have noted as a noteworthy contributor. It is such an honour to be featured in this list with such great people. This was a really big release for me, getting many very long standing ticket merged into core, like adding caching to WP_Query. I worked really hard on performance, even…

  • Improvements to WP_Query performance in 6.1

  • Proposal: Add a dominant color background to images.