Paul McAleer

Prefetch Content with HTML5

Paul McAleer
Prefetch Content with HTML5

cameronmoll:

This sounds too easy. Add a line like this to your head element:

<link rel="next" href="page2.html">

or

<link rel="prefetch" href="big.jpg">

… and the browser fetches the content in the background as soon as the user’s computer is idle. If it sounds too easy, it’s probably because Firefox is currently the only browser to support this feature. But this has the potential to be a really useful feature.