Some people use this to prefetch image / css / page. You can read about it here.
Basically, as soon as the page is completed, the browser will see these link tags, and if the rel attribute is "next" or "prefetch", then the browser will start loading everything that the href attribute indicates, and store it in the cache so that it loads very quickly if the user clicks on it.
This method can be used for prefetching, including images, style sheets, various web pages, etc. As long as the URL used in <link> matches the URL used to load the resource normally, it will load this resource from the cache.
For example, if your page had this link <a href="page2.html">Page 2</a> and you wanted to pre-select it, add it to your page <link rel="next" href="page2.html"> .
Finally, this prefetch method is preferable to javascript methods, because this type of prefetch is standards-compliant, handled by the browser, and can be disabled by the user if they have acceptable bandwidth or other connection restrictions.
source share