Skip to main content
Adzbyte
PerformanceWordPress

The Speculation Rules API: A Free Speed Boost You’re Probably Missing

Adrian Saycon
Adrian Saycon
April 19, 20264 min read
The Speculation Rules API: A Free Speed Boost You’re Probably Missing

Most performance improvements take work. Caching plugins to configure, images to optimize, JavaScript to audit. Each one matters, and each one takes time. Every so often a feature lands that gives you real speed improvements for zero effort, and the Speculation Rules API — shipped natively in modern browsers and now supported by WordPress 6.8 — is one of them.

If your WordPress site isn’t using it, there’s a good chance it could be, and visitors would notice.

What it does, in plain terms

When a visitor hovers over a link, the browser quietly starts loading the next page in the background. By the time they click, the page is already ready. The transition feels instant because it is.

That’s it. No tricks, no third-party services, no caching plugins. The browser predicts what you’ll want next and fetches it before you ask.

Why this is different from old tricks

Preloading and prefetching aren’t new ideas. Link prefetch hints have existed for years. But they required manual setup, they weren’t smart about which links to prefetch, and they often wasted bandwidth by fetching pages visitors never actually opened.

The Speculation Rules API is different because:

  • The browser decides which links are likely to be clicked
  • It respects the visitor’s bandwidth and data preferences
  • It can even render the next page in a hidden background tab (“prerender”), so clicking feels instant
  • WordPress 6.8 enables it out of the box with sensible defaults

In practice, a WordPress site running the Speculation Rules API feels like it navigates in zero time. Clicking a link no longer has the little pause while the next page loads — the next page is already there.

What it looks like to visitors

Honestly, they won’t consciously notice. Which is the point. Fast sites don’t feel fast — they feel obviously-how-things-should-be. What visitors will notice is that they stop bouncing. Time on site goes up. Pages per session climbs. You won’t see a dramatic metric, but you’ll see a quiet lift across the whole site.

For content-heavy sites (blogs, news, documentation), the improvement is most visible because visitors click through multiple pages in a session. A magazine with 5 articles per session gets 4 free “instant” loads. That’s huge.

How to enable it on WordPress

WordPress 6.8 and later includes the Speculation Rules API by default through the Performance Lab plugin and the built-in Speculative Loading feature. In most cases, you just need to:

  1. Update WordPress to 6.8 or later
  2. Install the Speculative Loading plugin from the WordPress team (if not already on your site)
  3. Check that it’s enabled in Settings → Reading → Speculative Loading
  4. Choose between “prefetch” (loads the HTML early) and “prerender” (renders the full page early)

Prerender is faster but more aggressive — it’s best for sites where you’re confident visitors will click through. Prefetch is gentler and works well for most cases.

Where it doesn’t help

The Speculation Rules API makes navigation feel instant. It doesn’t help with the first page load (that page isn’t predicted, because the visitor hasn’t arrived yet). It doesn’t improve Core Web Vitals for the entry page.

It also doesn’t help sites where visitors hit one page and leave. Landing pages optimized for a single conversion don’t benefit much. But blogs, portfolios, documentation, e-commerce with multiple product views, and any multi-page browsing experience gets a measurable boost.

The caveat: be careful with prerender

Prerendering fetches and executes the full next page — including any analytics scripts, tracking pixels, and database queries. If a visitor hovers over a link but never clicks, that fetch still happened. You might see:

  • Inflated page view counts in analytics (fixable with the right event configuration)
  • Extra database load on the server (minor for most sites)
  • Tracking scripts firing for “visits” that never really happened

Prefetch is safer for most sites. It loads the HTML but doesn’t execute the page, so analytics and database queries don’t fire. Start there, and only move to prerender if you’re sure your analytics and server can handle it.

The larger point

Web performance in 2026 isn’t just about shrinking things anymore. It’s about being smart with time. The Speculation Rules API is a small, quiet example of how the browser and the server can cooperate to make everything feel faster without actually being faster in the raw sense. Your pages haven’t gotten smaller — the browser just loaded them before you asked.

If you’re running WordPress 6.8 or later, check whether speculative loading is on. If it isn’t, flipping it on is one of the rare changes where the risk is close to zero and the benefit is immediate. Free speed. Take it.

Photo by SpaceX on Pexels.

Adrian Saycon

Written by

Adrian Saycon

A developer with a passion for emerging technologies, Adrian Saycon focuses on transforming the latest tech trends into great, functional products.

Discussion (0)

Sign in to join the discussion

No comments yet. Be the first to share your thoughts.