Descrizione
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 (usingnavigator.connection.saveData
) - Prefetches URLs to the links (using
<link rel=prefetch>
or XHR). Provides some control over the request priority (can switch tofetch()
if supported).
If you are a developer, we encourage you to follow along or contribute to the development of this plugin on GitHub.
Installazione
From within WordPress
- Visit ‘Plugins > Add New’
- Search for ‘Quicklink for WordPress’
- Activate ‘Quicklink for WordPress’ from your Plugins page.
Manually
- Upload the
quicklink
folder to the/wp-content/plugins/
directory - Activate the Quicklink for WordPress plugin through the ‘Plugins’ menu in WordPress
FAQ
-
Will this make my website faster?
-
Yes and no. This plugin has no impact on the actual performance of your website. But navigating the website will feel faster, because potential navigation targets of the user have been prefetched in the users browser.
-
Will this make my website slower?
-
Slowing down the site is highly unlikely, but possible. If this plugin is used with a caching plugin, the additional hits on the server should not impact performance. But if resource intensive, uncached targets are being prefetched, a performance loss is to be expected.
-
What can I do if my website is getting slower?
-
You should fist check, that a good caching plugin like “WP Super Cache”, “W3 Total Cache” or “WP Rocket” is enabled. If this is not enough you can always add exception rules to the Quicklink configuration by modifying the ‘quicklink_options’ filter.
Recensioni
Contributi e sviluppo
“Quicklink for WordPress” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.
Collaboratori“Quicklink for WordPress” è stato tradotto in 7 lingue. Grazie ai traduttori per i loro contributi.
Traduci “Quicklink for WordPress” nella tua lingua.
Ti interessa lo sviluppo?
Esplora il codice segui il repository SVN, segui il log delle modifiche tramite RSS.
Changelog
0.10.0
- General maintenance for the repository
- Updated Quicklink dependency to version 2.3
- Tested for WordPress 6.2
0.9.0
- General maintenance for the repository
- Updated Quicklink dependency to version 2.2
- Tested for WordPress 5.8
0.8.0
- Updated Quicklink dependency to version 2.0
0.7.3
- Made a function have a less generic name
0.7.1
- Fix some more deprecations with WooCommerce
0.7.0
- Changed the defaults to ignore links with get requests to improve compatibility
- Removed some deprecated functions for WooCommerce
0.6.0
- Updated Quicklink to version 1.0.1
0.5.0
- Added rules and compatibility for WooCommerce
0.4.0
- Updated the script loading to load asynchronously
- Updated the plugin assets
0.3.0
- Added compatibility with AMP
- Added amazing contributors
- Added the new WordPress filter ‘quicklink_options’ to modify quicklink settings
0.2.0
- Release for the plugin repository
- Tuned quicklink ignores for WordPress
0.1.0
- Initial release