collab / module-quicklink
Faster subsequent page-loads by prefetching or prerendering in-viewport links during idle time.
Installs: 365
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- magento/framework: *
README
The Collab_QuickLink module allows You to embeed and configure quicklink in Your Magento 2 store.
How it works
Quicklink attempts to make navigations to subsequent pages load faster. It:
- 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 (using
<link rel=prefetch>
or XHR) or prerenders (using Speculation Rules API) URLs to the links. Provides some control over the request priority (can switch tofetch()
if supported).
Configuration
You can configure the module in the admin panel under Stores > Configuration > Collab Extensions > Quicklink
.
Full options description can be found in the quicklink documentation.
Installation details
composer require collab/module-quicklink bin/magento setup:upgrade