About the Quicklink module

Last updated on
16 October 2024

The Quicklink module provides a wrapper around GoogleChromeLabs' Quicklink library. This library attempts to make navigations to subsequent pages load faster.

  • Detects links within the viewport (using Intersection Observer)
  • Waits until the browser is idle (using requestIdleCallback)
  • Checks if the user isn't on a slow connection (using navigator.connection.effectiveType) or has data-saver enabled (using navigator.connection.saveData)
  • Prefetches URLs to the links (using <link rel=prefetch> or XHR).

About the module

The Drupal Quicklink module will install the Quicklink library out of the box and provide several "Drupal" fixes, such as only enabling when not logged in, and not prefetching AJAX-enabled links. It also works with Drupal Behaviors system, which enables prefetching of content that gets AJAX'd in.

Browser Support

Quicklink will work on browsers that support Intersection Observer. This includes all modern browsers (including Chrome, Firefox, Edge, and Safari). You can see current browser support at Can I Use.

The Quicklink module has a setting to load polyfills from polyfill-fastly.io (disabled by default). These enable it to work with IE11, for those poor unfortunate souls who still have to do so.

Help improve this page

Page status: No known problems

You can: