At CanadaCreate, we have spent years perfecting website speed optimization. After testing various techniques, we discovered that link preloading provided an immediate performance enhancement.
If you find even minor delays in page loading frustrating, you understand how significantly it can affect user experience. Link preloading is an innovative browser feature that prepares the next page before your visitor clicks the link.
The outcome is a website that feels remarkably fast and responsive. It’s a surprisingly straightforward method to enhance your site’s performance, which your visitors will appreciate.
In this guide, we will show you how to implement link preloading correctly. Let’s dive in.
What Is Link Preloading in WordPress?
Link preloading allows your web browser to load a link in the background before the user clicks on it, resulting in faster page loads when they navigate.
It’s similar to a restaurant starting to prepare your meal before you arrive!
Technically, link preloading means that a visitor’s web browser efficiently loads the linked page in the backgroundbeforethey actually click on the link. Therefore, when theydoclick, the page seems to load almost instantly. It’s all about enhancing your website’s speed and responsiveness.
So, why is this important? A faster website leads to a better user experience. From our perspective, Google and other search enginesfavorquick-loading websites. This is crucial for SEO, as a faster site can attract more visitors to your blog.
Moreover, and perhaps even more significantly, it enhances visitor satisfaction. Nobody enjoys waiting for pages to load, right? A fast, seamless website provides a much more enjoyable experience.
There are numerous strategies to enhance your WordPress site’s speed and performance. This can include utilizing a performance plugin or a Content Delivery Network (CDN).
For instance, a robust caching plugin like WP Rocket can significantly improve load times. However, link preloading is a distinctive method that stands out due to its ease of implementation.
Pro Tip:We utilize WP Rocket on several of our websites for caching and essential speed enhancements. It serves as a comprehensive solution that addresses many performance adjustments, making it an ideal base for implementing techniques like link preloading.
It’s crucial to set up preloading correctly to prevent server complications. For example, excessively aggressive preloading of all internal links could result in server crashes.
With that said, let’s guide you through the proper steps to preload links in WordPress effectively.
How to Implement Link Preloading in WordPress for Enhanced Site Speed
The simplest method to preload links is by utilizing the Flying Pages plugin. This tool intelligently manages preloading to ensure it does not crash your site or slow it down.
If it identifies any problems, the plugin will halt all preloading activities.
First, you must install and activate the plugin. For detailed instructions, refer to our guide on installing a WordPress plugin.
After activation, go to Settings » Flying Pages in your WordPress admin dashboard to adjust the plugin settings.
Next, set the ‘Delay to start preloading’ time in the dropdown menu. This setting defines how long the plugin waits before it begins prefetching links.
It waits for a moment when the browser is idle (not busy loading the current page) to prevent any slowdowns. For most websites, the default ‘0 second’ setting, which initiates prefetching as soon as the browser is available, is ideal.
You can also modify the ‘Max requests per second.’ The lower you set this value, the lesser the impact on your server.
We will maintain the default setting of ‘3 requests,’ which is suitable for most WordPress hosting environments.
You can enable the option to ‘Preload only on mouse hover.’ This setting ensures that links are preloaded only when a user hovers over them, allowing the page to load just before they click.
This technique makes the next page appear to load instantly. Typically, there is a delay of about 400 milliseconds (ms) between when a user hovers over a link and when they actually click it. This brief moment allows the browser to start fetching the next page in advance.
You can also configure the ‘Mouse hover delay.’ This setting determines the duration that elapses after a user hovers over a link before the preloading begins.
Below this setting, you’ll find a list of keywords that the plugin will exclude from preloading.
These typically include standard login pages and image files. You can keep the list unchanged or add additional keywords as needed.
If you operate an online store, consider adding pages like /cart and other dynamic pages to this exclusion list to prevent them from being preloaded.
Similarly, if you are using an affiliate marketing plugin such as ThirstyAffiliates or PrettyLinks, it’s crucial to include your affiliate prefixes like /refer/ or /go/ in this exclusion list to ensure proper tracking of affiliate links.
The last option allows you to disable preloading for administrators.
This technique will help decrease the load on your website’s server. If you prefer to preload links only for visitors who are not logged-in administrators, simply select the appropriate option.
After making your changes, click the ‘Save Changes’ button located at the bottom of the page.
Congratulations! You have successfully activated link preloading on your website.
Important Note:If you are conducting a website speed test using a tool like PageSpeed Insights and do not notice an improvement in your score, that’s completely normal. Link preloading enhances the speed of link clicks but does not affect the initial loading time of your site.
Common Questions About Link Preloading
Here are some frequently asked questions regarding link preloading in WordPress and its impact on website performance.
1. What is the primary advantage of link preloading?
The primary advantage is a significantly improved user experience. When a visitor hovers over a link, the page starts loading in the background. This allows the next page to appear almost instantly upon clicking, making your website feel faster and more responsive.
2. Will link preloading enhance my Google PageSpeed score?
While link preloading enhances the perceived performance for users browsing your site, it does not influence the initial loading time of individual pages, which is what tools like PageSpeed Insights evaluate.
3. Can link preloading cause my server to crash?
If not implemented carefully, excessive prefetching can burden your server, particularly on shared hosting. Each preload request simulates a mini-visit to your server, and too many simultaneous requests can lead to overload.
Fortunately, the recommended Flying Pages plugin is designed to mitigate this issue. It smartly waits for the browser to be idle and only initiates prefetching when your server is not under heavy load, thus avoiding crashes or slow performance.
4. Are there specific pages I should avoid preloading?
Yes, it’s essential to exclude dynamic pages from preloading. This includes cart, checkout, and account pages on eCommerce sites. Additionally, make sure to exclude your affiliate links (such as those with a /refer/ or /go/ prefix) to maintain accurate click tracking.
Discover More Expert Tips to Enhance Your WordPress Speed
We hope this article has helped you understand how to implement link preloading in WordPress for improved loading speeds. You may also want to explore additional tutorials on optimizing your WordPress website’s performance:
- Top WordPress Hosting Solutions with Performance Benchmarks
- Essential WordPress Caching Plugins to Enhance Your Website Speed
- Step-by-Step Guide to Minifying CSS and JavaScript in WordPress
- Ultimate Guide to Optimizing Core Web Vitals for WordPress
- Simple Techniques for Lazy Loading Images in WordPress
- Effective Strategies to Accelerate Your eCommerce Website
Enjoyed this article? Subscribe to our YouTube Channel for WordPress tutorials, and connect with us on Twitter and Facebook.



