Опис
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.
Як це працює
- Виявляє посилання у вікні перегляду (за допомогою Intersection Observer)
- Чекає, поки браузер не буде працювати (за допомогою 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.
Встановлення
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
Часті питання
-
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.
Відгуки
Учасники та розробники
“Quicklink for WordPress” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
Учасники“Quicklink for WordPress” було перекладено на 7 локалізацій. Дякуємо перекладачам за їх роботу.
Перекладіть “Quicklink for WordPress” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
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