Speculative Loading
Enables browsers to speculatively prerender or prefetch pages to achieve near-instant loads based on user interaction.
The facts
- Rating
- 5★ from 18
- Active installs
- 70k+
- Price
- Free
- Last updated
- 26 Aug 2026
- Added
- Jan 2024
- Requires WP
- 6.9
- Tested up to
- WP 7.1
- Requires PHP
- 7.4
- Downloads
- 473,221
Our analysis
AI-assistedSpeculative Loading is a WordPress plugin that enhances loading performance by implementing the Speculation Rules API. It allows for the dynamic prefetching and prerendering of specific URLs based on defined rules, with a user interface for customization available in the admin settings.
This plugin is particularly useful for sites that want to improve the experience for logged-out users, as it defaults to prerendering with moderate eagerness when interacting with links. It is suitable for various site types, though it may not benefit sites with frequent logged-in user interactions unless configured to do so.
Best for: This plugin suits websites looking to improve loading performance for logged-out users.
What it does well
- ✓Free to use from the WordPress.org directory
- ✓Supports dynamic prefetching and prerendering of URLs
- ✓User interface for customization in admin settings
- ✓Compatible with Chromium-based browsers
- ✓Good directory score of 88/100
Where it falls short
- •Limited benefits for sites with frequent logged-in users
- •Functionality ignored by non-Chromium browsers
Verdict
Speculative Loading offers a practical solution for enhancing site performance, particularly for public-facing pages, but may have limitations based on user login status.
From the developer
WordPress Performance Team's own description of Speculative Loading, lightly tidied.
This plugin adds support for the Speculation Rules API, which allows defining rules by which certain URLs are dynamically prefetched or prerendered. This core Speculative Loading functionality was merged into WordPress 6.8, but it only prefetches with conservative eagerness by default. In contrast, this plugin defaults to prerendering with moderate eagerness (i.e. when interacting with a link), and it provides a user interface to customize the mode and eagerness via the “Speculative Loading” section on the Settings > Reading admin screen.
By default, speculative loading is only enabled for logged-out users, since unauthenticated pages are typically only eligible for caching and so more efficient to prefetch/prerender. This means that sites with frequent logged-in users on the frontend—such as e-commerce, forums, or membership sites—will not benefit from the feature. If your server can handle the additional load (for example, with persistent object caching), you can opt in to enable speculative loading for all logged-in users or for administrators only. This setting exclusively affects frontend pages; admin screens are always excluded.
A filter can be used to exclude certain URL paths from being eligible for prefetching and prerendering (see FAQ section). Alternatively, you can add the no-prerender CSS class to any link (<a> tag) that should not be prerendered. See FAQ for more information.
Browser support
The Speculation Rules API is a new web API, and the functionality used by the plugin is supported in Chromium-based browsers such as Chrome, Edge, or Opera using version 121 or above. Other browsers such as Safari and Firefox will ignore the functionality with no ill effects; they will simply not benefit from the speculative loading. Note that certain browser extensions may disable preloading by default.
- Browser support for the Speculation Rules API in general
- Information on document rules syntax support used by the plugin
This plugin was formerly known as Speculation Rules.