Tag Archive

How HTML 5 link prefetching can make your site load faster with one line of code.

Published on June 3, 2010 By annie

One of the lesser-known jewels of HTML 5 is link prefetching. The idea is to extend the time-honored concept of image preloading to HTML content (and without any messy AJAX code). Here’s how it works: You add a line like this to your page: <link rel=”next” href=”page2.html”> Then the browser automatically downloads page2.html in a [...]