Improving your WordPress is a never ending task and it just gets easier and easier every time. Thanks to WordPress tasks such as these are easy because of the huge directory of plugins they offer. One plugin which we use ourselves is WordPress Instant Articles.
This plugin manages prefetching and prerendering. What is prefetching ad prerendering?
When a website is loaded, the browser has to find the server that hosts the website. To do this they use Domain Name Servers (DNS) to locate them. So in comes prefetching, what this does is prefetcehes the DNS server so it skips the process of locating the host of the website make page load time a lot faster.
Prefetching is only shortening the latency before the site is loaded. Prerendering starts the process of rendering specific sites, after the current page has finished loading, but before a link to a pre-rendered site has been clicked.
So if you want to get this started on your WordPress website, simply go to your WordPress dashboard and go to Plugins > Add New and type in WordPress Instant Articles. Then install and activate the plugin.
Once activated you will find the plugin on the left hand side menu named Instant Articles.
You can now select which ones you would like to implement throughout your website. This may not seem like a lot, but it is important not to go overboard with your prerendering as the extra bandwidth required to do so can quickly outweigh any benefits of doing so. For example we have Pre-render homepage and DNS prefetch enabled and thats it.
To enable DNS prefetch, simply select the box and enter your domain into the box. Don’t forget to Save any changes.
Using this simple plugin can provide really impressive load times with a minimal increase in consumed bandwidth.