Neova高機能SEOプラットフォーム

preconnectがない、使われていない、または4つを超えるオリジンに設定されている

Neovaでは Lighthouseの設定をオンにしたときに実行され、Mac上のChromeを使います。

ルールの最終確認:2026年10月17日 · ガイドの更新:2026年7月7日

Lighthouse が、preconnect によって時間を短縮できるオリジンを挙げているか、preconnect が使われていない、または 4 つを超えていると警告しています。不要な接続は、読み込みの助けにならないままリソースを消費します。これらの基準を定めている検索エンジンはありません。

できること

挙げられたオリジンに rel=preconnect を追加し、リソースが必要とする場合は crossorigin も付けてください。使われていない preconnect を削除し、4 つ以下になるようにしてください。

Neovaがフラグを立てる理由

  • preconnectを使うと、ブラウザは重要な外部オリジンへのDNS、TCP、TLSを早めに準備でき、数百ミリ秒短縮できることがあります。
  • 使われないpreconnectや、約4つを超えるpreconnectは、より重要なリクエストと競合する接続を開きます。
  • これらはLighthouseの基準で、定めている検索エンジンはありません。

出典

完全ガイド

この部分は現在、英語のみです。

TL;DR

This audit suggests warming up the connection to a third-party origin your page depends on early, so the browser is not still shaking hands with a font host or CDN when the critical file is finally requested. A preconnect hint does the DNS lookup, TCP handshake, and TLS negotiation ahead of time, shaving real milliseconds off resources on another domain. Add <link rel="preconnect"> for the two or three origins that host render-critical assets, and no more.

What This Check Flags

Every request to a new domain carries a hidden tax before a single byte of the actual file moves: a DNS lookup to find the server, a TCP handshake to open the socket, and (over HTTPS) a TLS negotiation to secure it. On a mid-range phone over mobile data, that setup can eat 300 ms or more per origin. This check fires when your page pulls a render-critical asset (a web font, a CDN-hosted script, an image host) from a third-party origin without warming that connection first.

The cost is a delayed critical path. If your headline font lives on a font CDN and the browser only starts the handshake when it hits the @font-face rule deep in your CSS, text paint stalls behind connection setup that could have started at the top of the document.

Preconnect Is Warmup, Not Fetch

This is the distinction people get wrong. Preconnect opens the door; it does not walk anything through it. It establishes the connection so the eventual request is fast, but it does not download the file. That is preload's job. Use preconnect when you know the origin but the browser cannot discover it early; use preload when you know the exact file. Here is the connection warmup in place:

<!-- In <head>, as early as possible -->
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://cdn.example.com">

<!-- Cheap fallback for origins you only might use -->
<link rel="dns-prefetch" href="https://analytics.example.com">

Two things bite people here. First, the crossorigin attribute is mandatory for fonts. A font request is CORS-anonymous, so a preconnect without crossorigin opens a connection the font fetch cannot reuse, and you have warmed a socket for nothing. Second, preconnect is a promise the browser holds open; warm too many origins and you waste sockets and CPU on handshakes you never cash in.

Preconnect vs. Dns-Prefetch vs. Preload

These three resource hints get muddled constantly. They operate at different stages, and picking the wrong one wastes the browser's time.

Hint What It Does Cost Use When
dns-prefetch DNS lookup only Tiny Origin you might use later
preconnect DNS + TCP + TLS A held socket Critical origin, file unknown yet
preload Fetches the actual file Full download Exact critical file, known URL

How to Detect It

  1. Lighthouse: the "Preconnect to required origins" opportunity lists third-party origins on your critical path and the estimated savings from warming each.
  2. PageSpeed Insights: run the URL to see the same opportunity plus which origins field data confirms are slow to connect for real users.
  3. DevTools Network panel: reload with the Timing breakdown open. Fat "DNS Lookup", "Initial connection", and "SSL" segments on a third-party request are exactly what preconnect erases.
  4. DevTools Performance panel: record a load and look for connection setup blocking the request of a render-critical asset. If handshake time gates your font or hero, warm that origin.

How to Fix It

  • Warm your critical origins. Add <link rel="preconnect"> high in the <head> for the domains hosting render-blocking or LCP-critical assets, typically your font host and primary CDN.
  • Always add crossorigin for fonts. Without it the warmed connection cannot be reused by the CORS font fetch.
  • Cap it at two to four origins. Preconnect is a scarce resource; reserve it for what actually gates the first paint and use dns-prefetch for the maybes.
  • Self-host when you can. Serving fonts and critical scripts from your own origin removes the cross-origin handshake entirely, which beats warming it.

For the strategy behind both hints, read our primer on preconnect and preload for performance and the resource hints glossary entry.

FAQ

What Is the Difference Between Preconnect and Preload?

Preconnect warms the connection to an origin (DNS, TCP, TLS) but downloads nothing. Preload fetches one specific file you name. Preconnect is for "I know I will need something from this domain"; preload is for "I know I need this exact file, get it now".

Why Does My Font Preconnect Need Crossorigin?

Fonts are fetched in CORS-anonymous mode. A preconnect without crossorigin opens a connection in a different mode than the font request needs, so the browser cannot reuse it and opens a second one. The hint does nothing useful, and you have burned a socket.

How Many Origins Should I Preconnect?

Two to four, tops. Each preconnect holds a socket and spends CPU on a handshake. Warm only the origins that sit on your critical rendering path; for everything speculative, the far cheaper dns-prefetch is the right tool.

Does Preconnect Help With the Same-Origin Assets on My Own Domain?

No. By the time HTML parsing starts, the connection to your own origin is already open, so there is nothing to warm. Preconnect only pays off for third-party origins the browser has not yet contacted.

Can Too Many Preconnects Slow My Page Down?

Yes. Speculative connections compete for bandwidth and CPU with the requests that actually matter, and holding sockets you never use is pure waste. Over-preconnecting can measurably hurt, which is why the discipline is "critical origins only".

自分のサイトで見つける

Neovaはこのチェック項目とほかのすべてをクロールのたびに実行し、修正内容をチーム向けのチケットとして書き出します。

  • Mac、Windows、Linux用のデスクトップアプリ
  • 696項目のチェックすべてに出典付き
  • Search ConsoleとAnalytics 4を読み取り専用で接続
  • Jira、Linear、Asanaへのチケット

Neovaをダウンロード Desktop Freeプラン、またはSoloを14日間無料、カード不要。

パフォーマンスのチェック項目すべて · ガイド · チェック項目一覧

執筆:Neova Labs · チェック項目一覧に戻る