Speed up WordPress with Speculative Loading, a product by the WordPress Performance Team. It optimizes websites using Speculation Rules API, preloading links into the browser’s cache for faster loading. Unlike other Cache Plugins, it temporarily saves data in the browser instead of the server, saving server resources. It only works on Chrome 121+ browser. Installation is easy, and it works well with any acceleration plugin. The plugin operates in two modes: Prefetch and Prerender. Choose the mode based on your website’s needs. Select a reputable hosting provider with strong configuration for optimal performance. Overall, Speculative Loading is a useful tool for speeding up WordPress websites seamlessly.
Speed up WordPress in the blink of an eye with Speculative Loading – A product launched by the WordPress Performance Team to help optimize WordPress websites using technology Speculation Rules API on the browser, helping the website save resources thanks to faster loading when the hovered link will be preloaded into the browser’s cache, through the prefetch or prerendering mechanism.
There are many Cache Plugins that support preloading pages or resources before users click on a link to go to another website, but the point is The special thing about this plugin is that it uses the browser API and the data will be temporarily saved on the browser instead of the website server thereby saving server resources.
With the above advantages, you certainly will not ignore this Plugin, however, you need to note that this feature only works on Google Chrome 121+ browser and above, for other browsers you will not see any changes. However, it does not affect your experience.
Install Speculative Loading
This plugin works perfectly with any acceleration plugin on WordPress, you don’t need to worry about plugin conflicts, so you can feel secure using the plugin to speed up your WordPress website.
First, you need to install the Plugin by accessing admin > select Plugins > select Install Plugin. Please type the keyword "Speculative Loading" and proceed with the installation.
After installation is complete, log in Setting > Select Read.
This plugin does not need to be set up, just activate it, and it can work immediately. You can change the mode of operation in the mechanism. Prefetch or Prerendering.
To check if the feature is working, right-click on the Web page and select > view page source (or press Ctrl + U). Then find the following code.
{
"prerender": [
{
"where": {
"and": [
{ "href_matches": "/*" },
{ "not": { "href_matches": "/logout" } },
{ "not": { "selector_matches": ".no-prerender" } }
]
}
}
],
"prefetch": [
{
"urls": ["next.html", "next2.html"],
"requires": ["anonymous-client-ip-when-cross-origin"],
"referrer_policy": "no-referrer"
}
]
}
If any similar code snippet then the mechanism worked.
Speculation mechanism of action
Speculation Rules API will operate in 2 types including:
- Prefetch: Preloads the content of the hovered page, but does not include other resources on the page such as Javascript codes, etc. This will help speculation work faster, but users will spend more time accessing to the target page due to the need to load the resources inside.
- Prerender: Preloads the entire content of the hovered page in a hidden tab of the browser, it will also load all resources inside the page and execute all Javascript code (if any) as when we access a page complete. This will be useful for websites that use a lot of Javascript for browser processing, but will consume more memory and bandwidth from the user.
So it can be understood that, choose Prerender then the website loads faster, users will almost immediately load the page once it is done working, but will requires more resources and bandwidth. Therefore, Prerender mode is recommended for regular WordPress websites, but if the website has a lot of content that requires users to manipulate Javascript, you should choose this mode. Prefetch.
Choose suitable Hosting
In general, with the above two mechanisms, each mechanism requires you to have a strong hosting configuration and large bandwidth, so you need to choose a reputable hosting service that meets the requirements. One of the high-quality hosting providers in Vietnam that you should choose is Azdigi, with a powerful hosting configuration and unlimited bandwidth, you can freely use resources from the provider. Additionally, you can refer to some of the suppliers listed below:
Supplier | Bandwidth | Capacity | CPU | Back up data | Lowest price* | Register |
---|---|---|---|---|---|---|
Azdigi | Unlimited | 6GB | 2 | Everyday | 55,0000 VND | Link |
Vietnix | Unlimited | 2GB | 1 | Everyday | 56,000 VND | Link |
KData | Unlimited | 1GB | 1 | Everyday | 10,500 VND | Link |
LanIT | Unlimited | 2GB | 1 | Everyday | 17,600 VND | Link |
Conclude
So you already have a WordPress website in the blink of an eye? This is a plugin worth using to help speed up your WordPress page in the blink of an eye because its resources are saved in the browser, which is very useful for your website, helping your website load faster but without causing any lag. affects hosting resources a lot. How would you rate this Plugin? Please leave a comment below when you use it to speed up WordPress in the blink of an eye.