Tag: performance
-

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…
-

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…
-
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
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…
-
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