Yoast SEO 27.8 Release Drastically Improves Performance for Large WordPress Sites, Enhancing User and Developer Experience

Yoast, a leading provider of search engine optimization (SEO) solutions for WordPress, has rolled out its 27.8 release, introducing significant performance optimizations designed to reduce loading times across its plugin functionalities. These improvements are particularly impactful for large-scale websites, which often grapple with extensive post libraries and vast user bases. The update, a testament to Yoast’s ongoing commitment to delivering high-performing, well-tuned software, addresses several critical bottlenecks that previously affected user and developer experience on resource-intensive WordPress installations.

The latest release stems from a targeted review by Yoast’s development team, specifically focusing on features whose behavior at scale offered the most significant opportunities for optimization. This proactive approach involved a comprehensive overhaul of core functionalities, ranging from modifying database queries to streamline page loading for sites with numerous users, to shaving heavy operations in the WordPress admin area for platforms with a high volume of posts. Additionally, the update reduces redundant trips to the database for multiple features and integrates general performance best practices, underscoring a holistic effort to enhance the overall efficiency of the Yoast SEO plugin.

Background: The Criticality of Performance in the WordPress Ecosystem

WordPress powers over 43% of all websites on the internet, making it the most popular content management system globally. Within this vast ecosystem, plugins like Yoast SEO play a crucial role in enabling website owners to optimize their content for search engines, a non-negotiable aspect of digital visibility and success. Yoast SEO, installed on millions of websites, helps users manage everything from meta descriptions and titles to XML sitemaps and schema markup. Given its ubiquitous presence, the plugin’s performance directly influences the operational efficiency and user experience of a substantial portion of the web.

Performance is not merely a convenience; it is a fundamental pillar of modern web development and SEO. Google, for instance, explicitly incorporates page speed and user experience metrics, such as Core Web Vitals, into its ranking algorithms. Slow-loading websites can suffer from higher bounce rates, lower conversion rates, and diminished search engine visibility. For large sites—those with hundreds of thousands or even millions of posts and users—these performance challenges are amplified. Database queries become more complex, server resources are stretched thin, and the potential for slowdowns increases exponentially. Yoast’s continuous pursuit of performance excellence, previously demonstrated by improvements to its database system in February 2023, reflects an understanding of these critical dynamics.

Key Optimizations in Yoast SEO 27.8: A Technical Deep Dive

The 27.8 release introduces a series of precise technical adjustments, each designed to tackle specific performance drains. These changes not only make the plugin faster but also highlight best practices in software development, particularly concerning database interaction and frontend rendering.

1. Significantly Reducing Loading Times of the Root Sitemap on Sites with Many Users

One of the most dramatic improvements in this release targets the loading times of the root sitemap, particularly on websites with a large number of registered users. The root sitemap, a critical component for search engine crawling, needs to accurately calculate the ‘Last Modified’ value for the author sitemap. This calculation traditionally involved querying the usermeta table for all eligible users to be included in the author sitemap.

Historically, determining eligible users relied on checking user capabilities, specifically by adding the 'capability' => ['edit_posts'] argument to the get_users() function call. This approach, while functional, triggered a very heavy database query involving multiple JOIN operations that failed to utilize database indexes effectively. The resulting SQL clause, which included multiple LIKE '%"edit\_posts"%' conditions, forced MySQL to perform full table scans and numerous substring operations on serialized PHP meta_values for each row. As B-tree indexes cannot be used with leading wildcards in LIKE clauses, this was an extremely inefficient operation.

The Yoast team addressed this by modifying the calculation method. Instead of checking user capabilities, the plugin now looks for users with published posts using the 'has_published_posts' => true argument. This seemingly minor alteration fundamentally transforms the underlying database query, allowing it to leverage existing indexes and perform significantly better. In controlled tests, a site with approximately two million users saw the root sitemap rendering time plummet from over 300 seconds to a mere 25 milliseconds. This represents an order of magnitude improvement, making the sitemap generation almost instantaneous for even the largest sites. Crucially, since the has_published_posts argument was already utilized in later stages of sitemap generation, this change has no negative impact on the feature’s functionality, ensuring accuracy while boosting speed.

2. Reducing Loading Times of the Author Sitemap on Sites with Many Users

Complementing the root sitemap optimization, the 27.8 release also improves the loading of author sitemaps. Beyond the has_published_posts optimization, developers identified an additional performance drain: an unnecessary meta query checking if each user’s user_level was greater than 0.

The user_level framework was officially deprecated by WordPress core since version 3.0, released over a decade ago. While its inclusion didn’t cause outright breakage, it introduced an irrelevant INNER JOIN in the resulting database query. On sites with massive user and usermeta tables, this unnecessary join contributed to performance degradation. By removing this outdated check, Yoast eliminated the redundant INNER JOIN and the associated meta_key condition. The decision to drop support for the deprecated user_level framework was a deliberate one, made with confidence due to the framework’s long-standing deprecation, ensuring minimal disruption while making the author sitemap generation smoother and faster.

3. Preventing Unnecessary Expensive Database Queries in Admin Pages

New: Yoast releases performance optimizations for larger websites

Website administrators frequently navigate the WordPress backend, and even minor slowdowns can accumulate into significant frustrations. Yoast SEO previously ran a daily database query to notify admins about pending actions required for optimal indexing of site data in its internal storage. On large sites, this query could run for several seconds, noticeably slowing down the rendering of administrative pages.

The function Limited_Indexing_Action_Interface::get_limited_unindexed_count() was responsible for executing complex queries, such as:
SELECT Count(P.id) FROM wp_posts AS P WHERE P.post_type IN ( 'post', 'page' ) AND P.post_status NOT IN ( 'auto-draft' ) AND P.id NOT IN (SELECT I.object_id FROM wp_yoast_indexable AS I WHERE I.object_type = 'post' AND I.version = 2)

These queries, designed to identify unindexed posts, were running periodically on admin pages, leading to significant delays. The Yoast team re-engineered the logic for this notification system. Instead of running the heavy query daily or every 15 minutes (on very busy sites), it now executes only once, at the precise moment it’s first determined that a notification is necessary. The results of get_limited_unindexed_count() are then cached and rely on existing cache invalidation mechanisms. This change drastically reduces the frequency of these resource-intensive queries, improving the responsiveness of the WordPress admin interface.

4. Optimizing Expensive Database Queries in Admin Pages

Building on the previous improvement, the 27.8 release not only prevents the frequent execution of the unindexed count query but also optimizes the query itself. This dual approach ensures that when the query does run, it does so with maximum efficiency, further speeding up the SEO optimization tool for sites with many posts.

The optimization involved changing a subquery from AND P.ID NOT IN ( SELECT I.object_id FROM wp_yoast_indexable AS I WHERE I.object_type = 'post' ) to AND NOT EXISTS ( SELECT 1 FROM wp_yoast_indexable AS I WHERE I.object_id = P.ID AND I.object_type = 'post' ). The NOT IN (subquery) construct typically requires building the entire list of object_ids before performing the comparison, which can be memory-intensive and slow on large datasets. In contrast, NOT EXISTS (subquery) short-circuits the moment a matching row is found, making it considerably faster for sites with thousands or millions of posts. This subtle but powerful SQL optimization reduces the computational overhead, particularly for databases with a high number of entries.

5. Reducing Roundtrips to the Database

Database roundtrips are inherently expensive operations due to network latency and the overhead of establishing connections and executing queries. A core principle of performance optimization is to minimize these trips. Yoast’s review identified instances where the plugin was retrieving data for multiple posts through sequential SELECT queries, performing one query per post.

The development team refactored this logic to utilize single, batched SELECT queries. For example, code that previously iterated through post_ids and called find_by_id_and_type() for each one was transformed into a single call to find_by_multiple_ids_and_type(). This change means that instead of performing 1,000 individual SELECT queries for 1,000 posts, the plugin now executes just one SELECT query that retrieves all necessary data simultaneously. To prevent hitting MySQL usage limits or overwhelming the database, the team ensured that the number of posts requested in a single batch does not exceed a predefined threshold.

As a direct result, operations like parts of SEO optimization or schema aggregation on a site with 1,000 posts can now save up to 960 roundtrips to the database, drastically cutting down processing time and server load.

6. Improving Post Editor Performance by Preventing Unnecessary Re-renders

Beyond server-side and database optimizations, Yoast also addressed client-side performance within the WordPress post editor. The editor’s React-based interface frequently re-renders Yoast’s sidebar panels when it perceives changes in the data pulled from its store. However, this perception of change is often based on reference equality (JavaScript’s ===), not a deep comparison of values. If a selector returns a new object literal, even if its content is identical to the previous one (e.g., items: ['foo'] ), React treats it as new and triggers a re-render. In a busy editor environment where state updates are dispatched on every keystroke, this led to constant, unnecessary re-renders of the Yoast panels, impacting the editor’s responsiveness and user experience.

The 27.8 release identifies and patches multiple instances where unchanging data triggered these superfluous re-renders. By ensuring that the data references remain stable when the underlying values have not truly changed, Yoast has made its editor integration more robust and performant, contributing to a smoother and more efficient content creation workflow.

Broader Implications and Yoast’s Commitment

The performance enhancements in Yoast SEO 27.8 carry significant implications for various stakeholders within the WordPress ecosystem:

  • For Website Owners and Administrators: Faster loading times for sitemaps mean quicker indexing by search engines and potentially improved crawl efficiency. A more responsive admin panel means less time waiting and more time managing content and SEO. Reduced server load translates to potentially lower hosting costs and greater stability, especially for high-traffic or resource-intensive sites.
  • For Developers: The release serves as a practical demonstration of advanced optimization techniques, from database indexing and query optimization to efficient data retrieval and frontend rendering. It sets a benchmark for performance in large-scale WordPress plugins and highlights the importance of addressing technical debt (like deprecated code).
  • For the WordPress Ecosystem: By pushing the boundaries of plugin performance, Yoast contributes to raising the overall quality and efficiency expectations within the WordPress community. This fosters a healthier environment where performance-conscious development is prioritized.

Leonidas Milosis, a senior developer at Yoast, whose insights were central to this release, emphasizes the company’s philosophy: "Offering well-tuned software with minimal overhead in servers and fast loading times is always at the forefront of everything Yoast developers do." He further notes the unique challenge posed by millions of varied website setups, necessitating continuous re-evaluation and optimization. The 27.8 release is a clear manifestation of this philosophy, demonstrating Yoast’s unwavering dedication to enhancing the user and developer experience through meticulous, data-driven performance improvements. It reinforces the notion that even mature and widely adopted software can benefit from continuous refinement, especially in an ever-evolving digital landscape where speed and efficiency are paramount.

Related Posts

Google Search’s "Filter by Recent" Feature Experiences Widespread Outage, Disrupting Real-Time Information Access

A critical functionality within Google Search and Google News, the "Filter by Recent" tool, experienced a widespread outage for several hours, preventing users from accurately sorting search results by temporal…

Seven huge, yet common SEO mistakes to avoid in 2023 – Search Engine Watch

The Foundational Pillars of Search Visibility: An Evolving Landscape The journey of search engine optimization has been one of constant adaptation, driven by the relentless pursuit of delivering the most…

You Missed

Mastering the Digital Inbox: A Comprehensive Guide to Crafting High-Performing Email Campaigns

  • By
  • August 2, 2026
  • 1 views
Mastering the Digital Inbox: A Comprehensive Guide to Crafting High-Performing Email Campaigns

Strategies for Presenting Internal Communication Data to Leadership for Strategic Impact

  • By
  • August 2, 2026
  • 1 views
Strategies for Presenting Internal Communication Data to Leadership for Strategic Impact

The Ultimate Guide to Referral Marketing: Turning Customers into Your Best Advocates

  • By
  • August 2, 2026
  • 1 views
The Ultimate Guide to Referral Marketing: Turning Customers into Your Best Advocates

The Evolution of Affiliate Marketing From Manual Processes to a Multi-Billion Dollar Technology Driven Ecosystem

  • By
  • August 2, 2026
  • 1 views
The Evolution of Affiliate Marketing From Manual Processes to a Multi-Billion Dollar Technology Driven Ecosystem

Optimizing Outreach: The Indispensable Role of Email Marketing in Nonprofit Growth and Engagement.

  • By
  • August 2, 2026
  • 1 views
Optimizing Outreach: The Indispensable Role of Email Marketing in Nonprofit Growth and Engagement.

The High Cost of Silent Churn: Why a Voice of Customer Audit is Essential for Revenue Retention in Modern SaaS

  • By
  • August 2, 2026
  • 1 views
The High Cost of Silent Churn: Why a Voice of Customer Audit is Essential for Revenue Retention in Modern SaaS