Speculative Loading
Enables browsers to speculatively prerender or prefetch pages to achieve near-instant loads based on user interaction.
Safe pick
Yes — Speculative Loading is a safe, well-maintained plugin to use in 2026. It runs on 60K+ sites, is rated 5/5 and was last updated 3 months ago, and scores 80/100 on our health check.
- Proven at scale on 60K+ active sites
- Tested with the latest WordPress (7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Speculative Loading stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| javascript | #28 |
| performance | #32 |
| prefetch | #3 |
| prerender | #1 |
| speculation rules | #1 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 18 reviews
About Speculative Loading
From the official readme · v1.7.0Description
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.
Installation
Installation from within WordPress
- Visit Plugins > Add New.
- Search for Speculative Loading.
- Install and activate the Speculative Loading plugin.
Manual installation
- Upload the entire
speculation-rulesfolder to the/wp-content/plugins/directory. - Visit Plugins.
- Activate the Speculative Loading plugin.
After activation
- Visit the Settings > Reading admin screen.
- Use the controls in the Speculative Loading section to configure speculative loading.
Changelog
1.7.0
Enhancements
- Add
declare( strict_types = 1 )to all PHP files. (2424) - Bump minimum required WordPress version to 6.9. (2517)
- Bump minimum required PHP version from 7.2 to 7.4. (2469)
- Improve code quality with native property types and stricter static analysis. (1729)
- Harden the JSON encoding of the inline speculation rules script and add a
sourceURLto the authentication admin notice script. (2169)
1.6.0
Enhancements
- Add Speculative Loading opt-in for authenticated requests. (2097)
- Add warning notice to Speculative Loading setting for authenticated users when persistent object cache is not present. (2144)
- Update Speculative Loading readme description to note purpose after core merge. (2120)
1.5.0
Enhancements
- Add support for Speculative Loading WP Core API, loading the plugin’s own API implementation conditionally. (1883)
1.4.0
Enhancements
- Implement speculative loading considerations for safer behavior. (1784)
1.3.1
Bug Fixes
- Check if rel contains nofollow instead of being just nofollow when excluding speculative loading. (1232)
1.3.0
Enhancements
- Prevent speculatively loading links to the uploads, content, plugins, template, or stylesheet directories. (1167)
- Facilitate embedding Speculative Loading in other plugins/themes. (1159)
- Improve overall code quality with stricter static analysis checks. (775)
- Bump minimum PHP requirement to 7.2. (1130)
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Speculative Loading alternatives
All javascript plugins →FAQ
Speculative Loading: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Speculative Loading free?
Yes. Speculative Loading is free to download and use from the official WordPress.org plugin directory.
Is Speculative Loading safe to use in 2026?
Yes — Speculative Loading is a safe, well-maintained plugin to use in 2026. It runs on 60K+ sites, is rated 5/5 and was last updated 3 months ago, and scores 80/100 on our health check.
How many websites use Speculative Loading?
Speculative Loading is active on 60K+ WordPress websites and has been downloaded 529,942 times since it launched in January 2024. It was downloaded 14,134 times in the last 30 days.
Does Speculative Loading work with WordPress 7.1?
Yes. The developer has tested Speculative Loading up to WordPress 7.1.5, the latest release. It requires WordPress 6.9 or newer.
What PHP version does Speculative Loading need?
Speculative Loading requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Speculative Loading last updated?
The latest version, 1.7.0, was released on August 26, 2026 (3 months ago).
Who makes Speculative Loading?
Speculative Loading is developed and maintained by WordPress Performance Team.
What are the best alternatives to Speculative Loading?
The most popular alternatives to Speculative Loading are Shortcoder (100K+ installs), Async JavaScript (60K+ installs) and Scripts n Styles (30K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
