On this page
About the Quicklink module
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 (usingnavigator.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
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion