Skip to content

backdrop-contrib/quicklink

Repository files navigation

Quicklink

What is Quicklink?

Quicklink library attempts to make navigations to subsequent pages load faster. This module loads the library and provides a Backdrop administrative interface to configure it.

Quicklink:

  • Detects links within the viewport.
  • Waits until the browser is idle.
  • Checks if the user isn't on a slow connection or has data-saver enabled.
  • Prefetches URLs to the links (using <link rel=prefetch> or XHR). Provides some control over the request priority (can switch to fetch() if supported).

Installation

  1. Download the Backdrop module and extract it to your modules folder.

By default this module will load the Quicklink JavaScript library from a local copy from a CDN https://unpkg.com/quicklink@2.3.0/dist/quicklink.umd.js.

How do I access the Quicklink admin interface?

The Quicklink module admin interface is located at admin/config/development/performance/quicklink, and can be accessed from a tab on the development / performance settings page.

What browsers does this support?

Chromium-based browsers, Firefox, and Safari.

How to ignore certain links

You can tell Quicklink to ignore certain links by adding them into the ignore list at admin/config/development/performance/quicklink.

In addition, you can add a noprefetch attribute onto the <a> tag to tell the library not to prefetch this link.

Issues

To submit bug reports and feature suggestions, or to track changes.

Current Maintainers

Credits

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.

About

Prefetches some links to make navigations to subsequent pages load faster.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •