PHPackages                             rangerz/magento2-module-quicklink - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. rangerz/magento2-module-quicklink

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

rangerz/magento2-module-quicklink
=================================

Faster subsequent page-loads by prefetching in-viewport links during idle time.

1.0.2(2y ago)3410.0k↓50%1MITPHPPHP &gt;=7.4

Since Dec 7Pushed 2y ago2 watchersCompare

[ Source](https://github.com/rangerz/magento2-module-quicklink)[ Packagist](https://packagist.org/packages/rangerz/magento2-module-quicklink)[ Docs](https://github.com/rangerz/magento2-module-quicklink)[ GitHub Sponsors](https://github.com/rangerz)[ RSS](/packages/rangerz-magento2-module-quicklink/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Rangerz\_Quicklink
==================

[](#rangerz_quicklink)

A Magento 2 module integrates GoogleChromeLabs/quicklink, ⚡️Faster subsequent page-loads by prefetching in-viewport links during idle time.

 [![Supported Magento Versions](https://camo.githubusercontent.com/1214aa32d2599a203a9a3c20372da925d5e5359ff6693630a4301debd4b5eb6c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565)](https://camo.githubusercontent.com/1214aa32d2599a203a9a3c20372da925d5e5359ff6693630a4301debd4b5eb6c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565) [![Latest Stable Version](https://camo.githubusercontent.com/10d51b485250e80de4f228dbf78271ad658fffed3f35914b2a62c64978aa83a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72616e6765727a2f6d6167656e746f322d6d6f64756c652d717569636b6c696e6b)](https://packagist.org/packages/rangerz/magento2-module-quicklink) [![Composer Downloads](https://camo.githubusercontent.com/861ff31df1ad0c96b773e9ea69da701585c78e78003026354ede702a9c6d88c2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72616e6765727a2f6d6167656e746f322d6d6f64756c652d717569636b6c696e6b)](https://packagist.org/packages/rangerz/magento2-module-quicklink) [![Maintained - Yes](https://camo.githubusercontent.com/6bbb9b6297acb425b9adb85f6c8d20e2a4cfe1edf4006f463122d2f4e2ab22bf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65642533462d7965732d627269676874677265656e)](https://github.com/rangerz/magento2-module-quicklink/graphs/commit-activity) [![](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)

How it works
------------

[](#how-it-works)

[Quicklink](https://github.com/GoogleChromeLabs/quicklink) attempts to make navigations to subsequent pages load faster. It:

- **Detects links within the viewport** (using [Intersection Observer](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API))
- **Waits until the browser is idle** (using [requestIdleCallback](https://developer.mozilla.org/en-US/docs/Web/API/Window/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** (using [``](https://www.w3.org/TR/resource-hints/#prefetch) or XHR) or **prerenders** (using [Speculation Rules API](https://github.com/WICG/nav-speculation/blob/main/triggers.md)) URLs to the links. Provides some control over the request priority (can switch to `fetch()` if supported).

Installation
------------

[](#installation)

```
composer require rangerz/magento2-module-quicklink
bin/magento module:enable Rangerz_Quicklink
bin/magento setup:upgrade

```

Usage
-----

[](#usage)

After installation, it will be enabled by default. You can find the configuration into `Stores > Configuration > Rangerz Extensions > Google Quicklink`.

### Google Quicklink

[](#google-quicklink)

- Enable Google Quicklink
- Enable in Backend
- Enable in Developer Mode

### [Quicklink Listen Options](https://github.com/GoogleChromeLabs/quicklink#quicklinklistenoptions)

[](#quicklink-listen-options)

- Prerender Mode

    - Default: `No` (Boolean)

    Whether to switch from the default prefetching mode to the prerendering mode for the links inside the viewport.Prerender and Prefetch

    > **Note:** The prerendering mode (when this option is set to true) will fallback to the prefetching mode if the browser does not support prerender.
- Prerender and Prefetch

    - Default: `No` (Boolean)

    Whether to activate both the prefetching and prerendering mode at the same time.
- Delay (MS)

    - Default: `0` (Number)

    The *amount of time* each link needs to stay inside the viewport before being prefetched, in milliseconds.
- Element

    - Default: `document.body` (HTMLElement|NodeList)

    The DOM element to observe for in-viewport links to prefetch or the NodeList of Anchor Elements.
- Request Limit

    - Default: `Infinity` (Number)

    The *total* requests that can be prefetched or prerendered while observing the `Element` container.
- Threshold

    - Default: `0` (Number)

    The *area percentage* of each link that must have entered the viewport to be fetched, in its decimal form (e.g. 0.25 = 25%).
- Concurrency Limit

    - Default: `Infinity` (Number)

    The\* concurrency limit \*for simultaneous requests while observing the `Element` container.
- Timeout (MS)

    - Default: `2000` (Number)

    The `requestIdleCallback` timeout, in milliseconds.

    > **Note:** The browser must be idle for the configured duration before prefetching.
- Priority

    - Default: `No` (Boolean)

    Whether or not the URLs within the `Element` container should be treated as high priority.

    When `Yes`, quicklink will attempt to use the `fetch()` API if supported (rather than `link[rel=prefetch]`).
- Origins

    - Default: `[location.hostname]` (Array)

    A static array of URL hostnames that are allowed to be prefetched.

    Defaults to the same domain origin, which prevents *any* cross-origin requests.

    **Important:** An empty array (`[]`) allows ***all origins*** to be prefetched.
- Ignore List

    - Default: `[]` (`RegExp` or `Function` or `Array`)

    Determine if a URL should be prefetched.

    When a `RegExp` tests positive, a `Function` returns `true`, or an `Array` contains the string, then the URL is *not* prefetched.

    > **Note:** An `Array` may contain `String`, `RegExp`, or `Function` values.

    > **Important:** This logic is executed *after* origin matching!

### Option not supported for setting

[](#option-not-supported-for-setting)

- timeoutFn
- onError
- hrefFn

Credits
-------

[](#credits)

Inspired by [rafaelstz/magento2-quicklink](https://github.com/rafaelstz/magento2-quicklink)

License
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~84 days

Total

3

Last Release

1080d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1aa03a02da1df69375ce1b87873f7c3b6d6c6334f7b5f3147da3c2ce3c33c344?d=identicon)[rangerz](/maintainers/rangerz)

---

Top Contributors

[![rangerz](https://avatars.githubusercontent.com/u/3338473?v=4)](https://github.com/rangerz "rangerz (11 commits)")

---

Tags

magento2magento2-extensionmagento2-modulequicklink

### Embed Badge

![Health badge](/badges/rangerz-magento2-module-quicklink/health.svg)

```
[![Health](https://phpackages.com/badges/rangerz-magento2-module-quicklink/health.svg)](https://phpackages.com/packages/rangerz-magento2-module-quicklink)
```

###  Alternatives

[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2091.2M7](/packages/yireo-magento2-webp2)[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[lillik/magento2-price-decimal

Magento 2 Price Decimal Precision

111147.5k](/packages/lillik-magento2-price-decimal)[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27659.1k4](/packages/nosto-module-nostotagging)[magepal/magento2-customeraccountlinksmanager

Customer Account Links Manager for Magento2 allows you to quickly and easily remove unwanted links from customer account dashboard

4084.9k](/packages/magepal-magento2-customeraccountlinksmanager)[doofinder/doofinder-magento2

Doofinder module for Magento 2

13204.0k1](/packages/doofinder-doofinder-magento2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
