---
title: "What is prefetching?"
description: "Prefetching prepares likely next resources or connections in advance so later navigation can feel faster."
canonical: "https://www.bajorat-media.com/en/faq/what-is-prefetching/"
locale: "en"
collection: "faq"
lastModified: "2026-05-15T00:00:00.000Z"
image: "https://www.bajorat-media.com/assets/img/faq/was-ist-prefetching-titelbild.webp"
---

# What is prefetching?

Prefetching prepares likely next resources or connections in advance so later navigation can feel faster.

## What is prefetching?

Prefetching is the predictive loading of resources that users are likely to need soon. A browser can prepare DNS lookups, connections, scripts, stylesheets or even future pages so that later navigation feels faster.

Prefetching is the predictive loading of resources that users are likely to need soon. A browser can prepare DNS lookups, connections, scripts, stylesheets or even future pages so that later navigation feels faster.

The term is used for several techniques. MDN explains modern variants in the context of [speculative loading](https://developer.mozilla.org/en-US/docs/Web/Performance/Guides/Speculative_loading).

## Which types of prefetching exist?

Common variants include:

- `dns-prefetch`: resolves the domain of an external host early
- `preconnect`: also opens an early connection
- `prefetch`: loads a resource for likely later use
- `preload`: prioritizes a resource needed for the current page
- Speculation Rules: enable modern preloading or prerendering of future pages

These terms are often confused. `preload` is usually about critical resources for the current page, while `prefetch` points to possible later use.

## When is prefetching useful?

Prefetching can be useful when the next step is very likely. Examples include multi-step forms, checkout flows, app-like interfaces or pages where users almost always move to the same next section.

For regular websites, prefetching should be selective. Too much predictive loading can waste bandwidth, create server load and raise privacy questions when third-party services are involved. This is especially relevant alongside [Consent Mode](/en/faq/what-is-consent-mode/) and [consent management](/en/faq/what-is-a-consent-management-platform-cmp/).

## Prefetching and performance

In [performance optimization](/en/services/performance-optimization/), prefetching is not evaluated in isolation. The question is whether it measurably helps. Sometimes image sizing, caching, critical CSS or reducing JavaScript creates a bigger improvement.

Prefetching is a tool for targeted speed gains, not a default best practice for every page. It should be tested together with [Core Web Vitals](/en/faq/what-are-core-web-vitals/) and real user journeys.
