Web features explorer
  • Home
  • Release notes
  • About
  • Features
  • Newly available
  • Widely available
  • Limited availability
  • Discouraged
  • Opposed
  • Most wanted
  • All features
  • Missing only in
  • Chromium
  • Firefox
  • Safari
  • Implemented only in
  • Chromium
  • Firefox
  • Safari
  • Features in latest releases
  • Chrome 158
  • Chrome Android 158
  • Edge 158
  • Firefox 161
  • Firefox for Android 161
  • Safari 27.2
  • Safari on iOS 27.2

<link rel="preconnect">

Widely Available (since 2022-07-15)

The rel="preconnect" attribute for the <link> HTML element is a hint to the browser that the page or user is likely to request resources from another origin, so the browser should preemptively start a connection to the href value's origin.

Browser support

  • Chrome 46 Released on 2015-10-13
  • Chrome Android 46 Released on 2015-10-14
  • Edge 79 Released on 2020-01-15
  • Firefox 39 Released on 2015-07-02
  • Firefox for Android 39 Released on 2015-07-02
  • Safari 11.1 Released on 2018-04-12
  • Safari on iOS 11.3 Released on 2018-03-29

MDN documentation

  • rel="preconnect" HTML attribute value

Specifications

  • HTML (#link-type-preconnect), from HTML Workstream (WHATWG).

Web Platform Tests (WPT)

View the latest WPT test results for this feature

View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist