plugin-icon

Quicklink for WordPress

⚡️ Faster subsequent page-loads by prefetching in-viewport links during idle time.
Betyg
5
Senast uppdaterat
February 14, 2024
Version
0.10.1
Aktiva installationer
2K
Quicklink for WordPress

Quicklink for WordPress attempts to make navigation to subsequent pages load faster. Embedded with the plugin is a javascript library, which detects links in the viewport, waits until the browser is idle and prefetches the URLs for these links. The library also tries to detect, if the user is on a slow connection or on a data plan.

This plugin builds heavily on the amazing work done by Google Chrome Labs.

More information about Quicklink on the official Website.

How it works

  • 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). Provides some control over the request priority (can switch to fetch() if supported).

If you are a developer, we encourage you to follow along or contribute to the development of this plugin on GitHub.

Gratispå Creator-paket
Aktiva installationer
2K
Testat upp till
6.4.5
Det här tillägget är tillgängligt för nedladdning och kan användas på din WordPress-installation som drivs på egen server.