In October 2021, Google and Yoast WordPress contributors published a proposal to create a Performance team to focus on increasing the performance (speed) of WordPress Core.
Thanks to its warm reception, this proposal was approved and the team had their first kickoff meeting on November 2, 2021. Since then, the team has already released a plugin with performance-related features that are intended to be merged into WordPress Core eventually.
To fully understand this new team and investment in performance, we attended Felix Arntz’s session “Enhancing performance in an open-source CMS ecosystem” at WordCamp Europe 2022. We will include insights from this sessions throughout the post, which will cover:
- What the WordPress performance team is
- Why it was created
- What their focus areas are
- What they’ve achieved so far
What is the WordPress performance team?
The WordPress performance team is made up of long-time WordPress contributors from Google, Yoast, XWP, and other companies. These contributors are aligned around a mission to improve WordPress performance in all areas, including plugins and themes.
The team meets every two weeks to identify priority projects and high-level timelines, assign responsibilities for the projects identified, and define ongoing or future measurement and success criteria. It also has a dedicated performance channel on slack as well as a performance tag on Make websites.
Why was the WordPress performance team created?
The WordPress performance team was created to meet the increasing needs and expectations of site owners and end-users regarding website performance (speed). To do so, WordPress needed a team that would unify, coordinate, and monitor efforts to improve performance in WordPress Core.
Actively investing in core performance has never been more important for WordPress. In the proposal for the creation of a performance team, the authors noted a widening gap between the performance of WordPress and proprietary platforms like Duda, Wix, Shopify, and Squarespace.
In The HTTP Archive’s Core Web Vitals report, for example, the percentage of WordPress and WooCommerce sites achieving “good” Core Web Vitals scores on mobile and desktop clients is only marginally increasing over time, whereas sites on other platforms are significantly increasing.
Since March 2020, WordPress sites have improved from 13.26% to 27.04% sites achieving good Core Web Vitals scores. While that’s more than double the amount in two years, the overall percentage of sites is still relatively low. This is especially true when compared to sites on Duda, which significantly increased from 16.7% sites having good CWV scores in 2020 to 63.83% in 2022. That’s a 282% improvement. Wix increased even more dramatically, with a 970% increase in sites achieving good CWV scores since 2020.
The fact that the performance gap between WordPress and other platforms continues to widen despite the availability of performance plugins and performance-optimized themes suggests that there’s issues in discovery, education, and active investments. And since the plugin and theme ecosystem weren’t solving these problems, the team was created to do so.
This is not just a problem that WordPress is facing. Looking at all open-source CMSes including WordPress, Joomla, Drupal, Prestashop, TYPO3, and Magento, 36.2% sites are achieving good CWV scores. This is a 69% increase from 2020. Compare this to 44.1% of sites achieving good CWV scores on proprietary CMSes including Wix, Squarespace, Shopify, and Duda, which is a 300% increase from 2020.
This is even more alarming when you consider CMS growth rates, according to Arntz. While WordPress is still the most popular CMS by far, proprietary CMSes are growing faster. Since March 2020, sites using Duda increased by 467%, sites using Shopify by 130%, Wix by 111%, and Squarespace by 101%. Sites using WordPress increased by 76%
Now that we have a better picture of how WordPress is lagging behind proprietary CMSes in terms of performance, let’s take a closer look at some factors that might be driving this performance gap below.
Why are proprietary CMSes doing better than WordPress in terms of performance?
In his WCEU 2022 session “Enhancing performance in an open-source CMS ecosystem,” Felix Arntz said there are three major reasons that proprietary CMSes are outperforming WordPress. Let’s take a closer look at them.
1. They have a controlled stack.
“Proprietary CMSes tend to have their own infrastructure that their entire platform is running on, which makes it easier to optimize the stack for the needs of the platform (and vice versa). Open source CMSes, on the other hand, are distributed,” Arntz said.
WordPress, for example, has to cater to any possible hosting environment. This makes it particularly challenging to land performance enhancements, or any type of enhancements.
2. They have much more limited ecosystems,
Proprietary CMSes have much smaller ecosystems compared to those of open-source CMSes. WordPress, for example, has about 60,000 extensions. Drupal has about 48,000. With approximately 7,000 extensions, Shopify is the only proprietary CMS that can remotely compete with the ecosystem of open source CMSes like WordPress and Drupal.
This is for two major reasons, according to Arntz. First, proprietary CMSes have fewer extensions because they have such an extensive process to approve. This makes it nearly infeasible for individual contributors to create an extension that gets included in their ecosystems. Second, their codebases are closed so it’s even harder to make an extension.
3. They are operated by a single entity.
Proprietary platforms are usually owned, maintained, and controlled by a single company with a degree of hierarchy. As a result, there don’t need to be as many conversations around landing performance enhancements, or other changes. Rather than needing to advocate for feature projects or features for months or getting buy-in from every single person, they just need to do what the higher-ups say, according to Arntz.
“Open source platforms, on the other hand, have a diverse community of individuals and companies that collaborate on the project. Every new feature and enhancement has to be discussed, reviewed, and get buy-in at equal level,” he said.
“Another benefit of being owned by a single company is that it’s not controversial to include features in the CMS from a centralized infrastructure like a CDN, for example,” Arntz said. WordPress users, however, would have to learn what a CMS is, set one up, and pay for it separately.
4. They have been focused on enhancing performance.
While the above characteristics help proprietary CMSes optimize for performance, they’ve also been investing in these optimization efforts for a while — and WordPress hasn’t.
It’s particularly important to change this trend because the challenge of improving performance is greater for an open-source CMS with a massive third-party ecosystem with thousands of plugins and themes than proprietary CMS systems hosted in a controlled environment and maintained by a single company.
Arntz stressed that it’s good that open source CMSes like WordPress come with the greatest amount of freedom so users can choose their own adventure, pay different ranges, extend the platform by any filter or action, and so on. “But this freedom plus ecosystem comes at cost. When landing a performance enhancement, we have to make sure it works everywhere or at least doesn’t break anything,” Arntz said. That’s why the WordPress project is now prioritizing performance and UX with the creation of the performance team initiative.
Despite the many challenges it faces, the team has already set out an impressive agenda and landed some impressive enhancements.
WordPress Performance Team Focus Areas
Let’s take a look at these and other focus areas below:
- Images: Serving high-quality images in smallest file size possible
- CSS: Reducing CSS overhead
- Web fonts: Reducing web fonts overhead
- Themes/Plugin requirements: Helping theme and plugin developers provide better performance
- Site Health: Providing the user with data to understand performance
- Measurement: Compiling data and analysis, and reporting on performance
Other focus areas that have been mentioned are asset caching, page caching, object caching, embeds, redirects, CDN support, and host configuration.
Emphasizing the scope of the performance initiative, Arntz said, “[The team] is not just looking at a few plugins and themes. We really want to make an improvement for the WordPress project and the ecosystem as a whole. And given the scale of the WordPress project, it also means improving performance across the web.”
While we can expect advancements, new features, updates, and more in these areas, the focus is achieving the most “impactful” wins on the WordPress core first. Let’s take a look at some of these wins below.
WordPress Performance Team Achievements
To advance its mission of improving the performance of the WordPress project and ecosystem as a whole, the team is making three parallel efforts:
- Improving performance directly through the core
- Working on tools that make it easier to monitor the performance of the development of the core as well as plugins and themes
- Raising more awareness of these performance metrics and tools
Since its kick off meeting in November, the WordPress performance team has already made strides in these areas. Let’s take a closer look at its primary project to date, the Performance Lab plugin, as well as other efforts.
Performance Lab is a set of standalone modules designed to improve performance in WordPress. Unlike other performance plugins in the WordPress ecosystem, the purpose of the Performance Lab plugin is to create and test performance-related features that are intended to be merged into WordPress Core.
Each feature or module is an individual feature project for WordPress Core, and can be activated or deactivated in the plugin settings page. But the plugin provides a centralized location so that developers can collaborate and maintain the plugin easier and end users don’t have to keep track of multiple plugins.
The first version of the beta-testing plugin was released in March 2022. It came with the following modules:
- WebP Uploads: Creates WebP versions for new JPEG image uploads if supported by the server.
- WebP Support: Adds a WebP support check in Site Health status.
- Persistent Object Cache Health Check: Adds a persistent object cache check for sites with non-trivial amounts of data in Site Health status.
- Audit Enqueued Assets: Adds a CSS and JS resource check in Site Health status. Note: this module is experimental.
WordPress 6.0 Improvements
WordPress 6.0 — also known as Arturo — was released on May 24, 2022. It contained nearly 1,000 performance, stability, and usability enhancements and bug fixes, all aimed at improving the writing and designing experiences.
As an important focus area of the core development team, the performance team worked on these performance enhancements to improve the page and post-load speed, reduce the execution time of various query types, caching, navigation menus, and much more. Let’s cover two major performance enhancements in 6.0 below.
Taxonomy Performance Improvements
As part of the release of WordPress 6.0, the performance team worked on improving the performance of term queries in order to improve the performance of WordPress in general. Its approach has been multifold and included:
- Improving term query caching
- Improving performance of navigation menu items
- Converting term_exists to get_terms
- Adding a limit to taxonomy queries
The WordPress performance team also worked on improving the WordPress Caching API for the 6.0 release. Thanks to the team’s contributions, users can now:
- utilize wp_cache_*_multiple() in core functions
- flush the runtime (in-memory) cache without flushing the entire persistent cache
Investing in Core Performance-as-a-Feature
“The goal of the performance team is not to catch up or surpass the performance of proprietary CMSes. It’s to improve performance of the platform at scale for everyone, not just for agencies or developers that manage them,” Arntz said in his closing remarks of his WCEU 2022 session.
He predicts that if we can achieve the average of the increases of the CWV passing rate in 2021 and 2022, then approximately 75% of sites on WordPress could achieve good CWV scores by 2024. That’d be millions of sites delivering better performances and better user experiences.