Preloading and Speculation Rules API
by Quentin Couchaux April 2nd 2025

In the ongoing quest for faster and smoother navigation, Google Chrome has introduced a new feature: the Speculation Rules API. Designed to enhance loading performance by anticipating user navigation intent, this API represents a significant evolution from previous preloading techniques.
What is the Speculation Rules API?
The Speculation Rules API allows web browsers—particularly Chrome—to prerender the pages a user is most likely to visit next. In other words, the browser can begin loading certain targeted pages in the background before the user even clicks, drastically reducing display time.
This feature is not enabled by default. It can be configured at various system levels, including for developers using Hyvä Themes (in Magento), where it can be activated via: Experimental Features > Enable Preloading Speculation Rules
A Modern Alternative to <link rel="prerender">
The older prerendering method (<link rel="prerender" href="...">
) had several limitations:
- Limited support (mostly Chrome),
- Occasionally unpredictable behavior,
- Minimal control over triggers.
The Speculation Rules API modernizes this approach. Based on a JSON rules file, it allows developers to:
- Precisely define which pages should be prerendered,
- Control when and under what conditions prerendering occurs,
- Seamlessly integrate this logic into modern contexts like SPAs (Single Page Applications).
The API relies on detection and prediction mechanisms:
When a user hovers over a link, starts typing in the address bar, or interacts with specific navigation elements, the browser refers to the defined speculation rules to prerender the corresponding page.
This may include loading HTML, CSS, JavaScript, and even associated data in the background—so that, if the user confirms the action, the final rendering feels almost instantaneous.
Why Does This Matter for UX (and SEO)?
This technology can significantly improve user experience by offering:
- Reduced perceived latency,
- A smooth, app-like browsing experience,
- Higher user engagement thanks to faster response times.
Since Google increasingly values UX performance (especially through Core Web Vitals), this API can also positively influence SEO—provided it’s used correctly.
Specifics for Hyvä Themes
In the Magento + Hyvä Themes context, this feature can be enabled via:
Admin Panel > Stores > Configuration > Hyvä Themes > Experimental Features > Enable Preloading Speculation Rules
This makes it easy to integrate prerendering logic into Magento pages—particularly valuable for e-commerce sites, where fast navigation is crucial for improving conversion rates.
For whom? 🤔
👉🏼 All types of clients, but particularly those with TMA.
Client benefits 🎯
👉🏼 Customer rate optimization and improvement of user navigation.
You have an e-commerce project and want to discuss it with our experts?
Find out what’s new at the company.
Because mixing fun and work is at the heart of our philosophy, we always try to make a special place for it in our business life.

Over the past several months, Hyvä has been revealing a series of technical and strategic innovations that are set to transform the entire Adobe Commerce ecosystem.

TikTok, originally known for short, entertaining videos, has recently launched TikTok Shop, a feature that could very well redefine the rules of the e-commerce game.

Agencies, software publishers, digital experts and all players in the digital space—you’ve likely heard the news. Starting June 28, 2025, all e-commerce services will be required to comply with new digital accessibility regulations.

Through the AI Tour of France, organized by Medef and Numeum, French companies shared their experiences with AI and the concrete benefits they have gained, as part of the “AI Action Summit.”

In a world where e-commerce has become a cornerstone of the global economy, B2B and B2C sales models represent two essential facets of the system.

The PIM, or Product Information Management solution, is a tool that collects your product data and integrates it directly into the most suitable format for your team, all within a single digital platform.

Design thinking is a methodology that emerged in the 1970s and gained momentum in the 1980s with applications across various sectors, including e-commerce.

The Gen-Z consists of individuals born between 1997 and 2012 and now represents a significant sector of the digital market.

Millions of internet users conduct searches every day via various search engines, whether to find answers to their questions, a restaurant, a specific item, or a schedule.

The Gorilla Club, part of ASPTT Strasbourg, is a sports section dedicated to promoting and teaching American football in Alsace.

These marketing techniques encourage buyers to complete their carts with complementary products to their initial items. Although often confused, these two sales techniques have distinct objectives and can be very effective when implemented correctly.

C2C sales, or “customer to customer,” represent a major evolution in the e-commerce landscape. In this model, individuals are the main players, using specialized sites or applications to sell and buy goods or services among themselves.

Sales funnels, known as “sales funnels” in English, refer to a technique aimed at maximizing conversion rates to sell more effectively online.

In today’s digital landscape, customer reviews—whether positive or negative—inform consumers about the quality of the products or services they are considering purchasing. Positive reviews can significantly boost sales by influencing the purchasing decisions of other consumers.

The new generation spends a lot of time on social media, which has led to the emergence of new professions, notably that of influencer or content creator.

Cross-border e-commerce has transformed the global commercial landscape. This ability to sell anywhere and anytime has significantly boosted companies’ revenues.

Nowadays, social media play a prominent role in our lives. Some use them to share their daily lives, others to spread messages, and some simply to stay in touch with their loved ones or to stay informed about the news.

ChatGPT, this new artificial intelligence tool, allows for the rapid creation of content. Launched by OpenAI in 2022, its goal is to “help by answering your questions and providing information.” Impressive, right?

Soft skills play an equally important role in the success and sustainability of your digital platform. They can transform the way you interact with your customers, your team, and your market.

Over the years, the focus on user experience (UX) and user interface (UI) has been constant, but today, we are increasingly moving towards another equally crucial concept: customer experience (CX).

Virtual Reality (VR) is a rapidly growing technology that is disrupting many sectors, including e-commerce.

Product listings are the cornerstone of the commercial strategy. They play a crucial role in converting visitors into customers as they provide detailed information about the products offered by a company. What are the key points to watch out for and the best practices to optimize them and maximize sales?

The functionalities, costs, and levels of complexity can vary from one CMS to another.

When it comes to optimizing your website’s performance, paying attention to images is a crucial yet often overlooked step.

The dynamics of e-commerce are evolving rapidly, with the primary goal of businesses being to provide an optimal customer experience to maximize conversion rates and, most importantly, sales. For the past two years, a new solution has been making waves: it’s the Hyvä solution and its Hyvä Reset theme.

In the dynamic universe of online marketing and sales, the conversion rate emerges as a key indicator, reflecting the performance and success of a strategy.

In the world of marketing, efficiency reigns supreme.

The e-commerce industry continues to grow at a rapid pace, driven by technological innovation, changes in consumer behavior, and evolving market expectations.

In a constantly evolving digital landscape, it is crucial to ensure that your website is performing well, secure, and meeting the needs of your users.

The realm of web marketing plays a central role, where the scope of digital strategy may vary, but merely existing on the web is equivalent to an active approach to online promotion.

In today’s digital era, Web Marketing has become an indispensable element for businesses aiming to expand their online product and service offerings.

In the current context of e-commerce and marketing communication, the engagement rate has become a crucial indicator for measuring user interaction and involvement with content or a brand.

The sales, that long-awaited event for consumers in search of good deals and discounts. But this event is also a major date in the calendars of e-commerce websites.

Branding and e-commerce have been continuously evolving, particularly since the expansion of the internet.

In a digital world where competition is fierce, the technical optimization of a website is a crucial element to ensure a smooth user experience, enhance performance, and strengthen its search engine ranking.

Online commerce is in constant evolution, and the security of your website, whether you are a small business or a major brand, must be a top priority. E-commerce websites handle vast amounts of data to personalize their product and service offerings, tailoring them to the needs of their target audiences.

We celebrated our third birthday last June 1st…. Yep, so soon! 🥳

With Magento 2, enhancements and new features have been introduced, thus providing businesses with optimized site management.

We recently conducted an internal study to assess our ATI4 employer brand and highlight areas for improvement.

A year ago, we hired 4 developers to join our Magento Academy. We aimed to train them to use this new technology.

Last November, ATI4 joined forces with Numéric Emploi Grand-Est to host its first Apéro Dev event.