First, if you don’t know what prefetching is, you should have a look at this post first.
Simply paste the code below in your header.php file (Within the <head> and </head> tags)
<?php if (is_archive() && ($paged > 1) && ($paged < $wp_query->max_num_pages)) { ?>
<link rel="prefetch" href="<?php echo get_next_posts_page_link(); ?>">
<link rel="prerender" href="<?php echo get_next_posts_page_link(); ?>">
<?php } ?>
Thanks to Bernd for the cool snippet!
Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!
Automatically prefetch next pages on your WordPress blog