Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Prelinker

Security covered Under active development 552 sites

Prelinker allows you to add preconnect and preload instructions to your Drupal site, helping browsers connect to necessary domains and fetch resources faster. You can specify which pages and resources these instructions apply to, optimizing performance by telling the browser to prepare for or download content ahead of time.

Prelinker provides a simple way to add preconnect and preload headers to either the response header for HTTP/2 compatible servers or via a <Link> element in the <Head> section of the HTML.

A preconnect header tells the browser that a domain will be required for page resources and that it should begin the process of connecting to the server in preparation for downloading these resources.

A preload response header informs the server to push the resources to the browser via HTTP/2 so that they will be available to browser earlier during the rendering process.

A preload <Link> is similar but informs the browser that it should begin downloading the resources as they will be required during rendering.

Page restrictions can be set for both domains and resources, for example you may want to preload a banner image on only the home page.

Release 3.x

Version 3.x is a major release with the following changes:

  • Drupal 11 only: The 3.x branch drops support for Drupal 10 and requires Drupal 11.
  • Visibility conditions: Preload and preconnect entities now support Drupal's condition plugin system to control when each entry is active (e.g. restrict to specific pages, roles, or request contexts).
  • `fetchpriority` attribute: Preload link elements support the `fetchpriority` attribute (`high`, `low`, or `auto`) to hint the browser's resource prioritisation.
Drupal 11 · not 10

Ask your assistant about Prelinker

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
May 2023
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.x-dev Dev 11 May 6, 2026
3.0.0 Stable 11 May 6, 2026
2.0.0-alpha2 Pre-release 8–10 May 11, 2023
2.0.0-alpha1 Pre-release 8–10 May 8, 2023
1.0.0-alpha7 Pre-release 8–9 May 8, 2023