Shopify's Speculation Rules: Prefetch vs. Prerender
Shopify prefetches every storefront link by default under conservative eagerness. Here's what that means before you add prerender yourself.

Since June 2025, Shopify has sent every Liquid storefront a Speculation-Rules HTTP header pointing to a JSON file of browser instructions. The default configuration uses prefetch at conservative eagerness — nothing more. Prefetch fetches the HTML response for a link but never renders it or executes its JavaScript; the browser just has the bytes ready. Conservative eagerness means that fetch starts on touchdown or mousedown, the moment closest to an actual click. Nothing about Shopify's default pre-renders a page or runs code ahead of navigation.
Four Eagerness Levels, Most to Least Aggressive
The Speculation Rules API offers four eagerness settings. Immediate speculates as soon as the rules are parsed, with no interaction at all — risky on a collection page with dozens of product links. Eager reacts to a slight signal, like the cursor moving toward a link. Moderate waits for a stronger signal: on desktop, a hover of roughly 200ms; on mobile, where hover doesn't exist, Chromium uses a viewport-based heuristic that watches how long a link has been visible near the buyer's last tap. Conservative, Shopify's default, waits for touchdown or mousedown. Omit eagerness entirely and document-level rules default to conservative, while list-level rules default to immediate.
What Moderate Eagerness Bought Shopify
On May 4, 2026, Shopify's performance team moved the platform default from conservative to moderate eagerness. The desktop results were substantial: a median gain of 285ms off time-to-first-byte, 224ms off first contentful paint, and 228ms off largest contentful paint, with roughly 10% of speculated navigations landing at exactly 0ms TTFB. Mobile gains were smaller but consistent — 25ms, 20ms, and 24ms off the same three metrics, with no regression at any percentile measured. The cost: moderate eagerness triggers nearly four times as many speculated requests as conservative on desktop, which Shopify reported as roughly a 14% increase in total HTML requests from supporting browsers overall.
Where Prerender Comes In — Carefully
Prefetch is as far as Shopify's own default goes. Prerender is more powerful — it renders the full page and executes its JavaScript before the buyer navigates — and theme developers can add it themselves with a speculationrules script block in theme.liquid, layered on top of Shopify's default rules. The risk is real: a prerendered page can fire analytics events before the buyer actually arrives, or show stale content if cart state changes between the speculative load and the real navigation. Shopify automatically sends a Clear-Site-Data header to wipe prefetch and prerender caches whenever the cart is modified, but any other state change — a login, a price update, an inventory check — is the theme's responsibility to handle.
One more constraint worth knowing before reaching for prerender: support is currently Chromium-only. Chrome, Edge, and Opera process the speculation rules; Safari and Firefox ignore the tag silently, so those buyers see no penalty, but they also get none of the speed benefit, since WebKit support hasn't shipped yet.