Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Quicklink

2,865 sites Security covered Drupal 10โ€“11
View on drupal.org

This module integrates the Quicklink JavaScript library into your Drupal site. Quicklink automatically prefetches links in the viewport during idle time, speeding up subsequent page loads. It intelligently avoids prefetching on slow connections or when data saving is enabled, and offers several configuration options to control which links are prefetched.

This module provides an implementation of Google Chrome Lab's Quicklink library for Drupal. Quicklink is a lightweight (< 1kb compressed) JavaScript library that enables faster subsequent page-loads by prefetching in-viewport links during idle time.

How Quicklink works

Quicklink makes navigation to subsequent pages faster. It:

  1. Works with all modern browsers
  2. Detects links within the viewport (using Intersection Observer)
  3. Waits until the browser is idle (using requestIdleCallback)
  4. Checks if the user isn't on a slow connection (using navigator.connection.effectiveType) or has data-saver enabled (using navigator.connection.saveData)
  5. Prefetches URLs to the links (using <link rel=prefetch>).

What this module provides

This is a lightweight wrapper module that provides sensible defaults. Most sites will not need to modify any configuration.

  • Inserts the Quicklink library โ€” either off of a CDN, or off the filesystem (if present).
  • Works with Drupal.behaviors to automatically prefetch URLs that get inserted via AJAX.
  • By default, loads the Quicklink library only for anonymous users.
  • Option to disable loading the Quicklink library on individual content types.
  • Has an option to disable loading the Quicklink library is PHP sessions are detected (useful for Drupal Commerce sites).
  • By default, ignores the prefetching of administrative links, AJAX-enabled links, and links that end with a file extension.
  • Provides option to ignore URLs with hashes (#) in them.
  • Provides a field for URL patterns to ignore.
  • Will not prefetch if a noprefetch hash or querystring parameter exists within the URL querystring.
  • Automatically ignores links that have a noprefetch or download attribute.
  • Automatically ignores the user/logout link ๐Ÿ˜Ž.
  • Provides a field to include additional domains that Quicklink will prefetch from (other than the origin domain).
  • Provides a debug mode checkbox that will help you figure out why or why not a link is getting prefetched.
  • Lots more!

Roadmap

  1. The 3.0.x version is now stable. It loads the 3.x version of the Quicklink library.
  2. The 2.0.x version is stable and supports both Drupal 8-11.
  3. The Drupal 7 version of the module is also stable.
Network requests being automatically downloaded while the user scrolls down the page.

Depends on

Dependencies of the latest stable release

  • node Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Apr 2025
Latest release
4 months ago
Releases (12 mo)
3 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.0.0 Stable 10โ€“11 Apr 12, 2026
3.0.0-beta2 Pre-release 10โ€“11 Mar 8, 2026
3.0.0-beta1 Pre-release 10โ€“11 Mar 8, 2026
2.0.5 Stable 8โ€“11 Apr 2, 2025